/*!
  * Bootstrap v2.3.2
  *
  * Copyright 2012 Twitter, Inc
  * Licensed under the Apache License v2.0
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
*/

// Different Theme Color variables

// Default #428bca
// White Smoke #dddddd
// Grey #666666
// Facebook #3B5998
// Flickr #FE0883
// Foursquare #8FD400
// Google+ #C63D2D
// Instagram #7f6250
// Linkedin #4875B4
// Pinterest: #910101
// Tumblr #2B4964
// Twitter #33CCFF
// Vimeo #86B32D
// Youtube #FF3333


// Variables

$primary-color: #428bca;    //666666, 81ab32, 3fa595, 5380a3, 816048
$primary-font-color: #ffffff;

$white: #ffffff;            //White Color
$black: #000000;            //Black Color

$goGreen: #6ac280;          //Green Color - Success
$lemonYellow: #f3cf59;      //Yellow Color - Warning
$nagpurOrange: #e89344;     //Orange Color - Warning
$jetBlue: #4a98c9;          //Blue Color - Info
$rubyRed: #e84f4c;          //Red Color - Danger/Error


// $primary-color: #61a0bd;    //81ab32, 816048
// $primary-font-color: #ffffff;

// $white: #ffffff;            //White Color
// $black: #000000;            //Black Color

// $goGreen: #56cb9e;          //Green Color - Success
// $lemonYellow: #56c0df;      //Yellow Color - Warning
// $nagpurOrange: #61a0bd;     //Orange Color - Warning
// $jetBlue: #5a6970;          //Blue Color - Info
// $rubyRed: #3e9f87;          //Red Color - Danger/Error


// Mixins

// Gradients

@mixin linear-gradient($fromColor, $toColor) {
  background-color: $toColor; /* Fallback Color */
  background-image: -webkit-gradient(linear, left top, left bottom, from($fromColor), to($toColor)); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, $fromColor, $toColor); /* Chrome 10+, Saf5.1+, iOS 5+ */
  background-image: -moz-linear-gradient(top, $fromColor, $toColor); /* FF3.6 */
  background-image: -ms-linear-gradient(top, $fromColor, $toColor); /* IE10 */
  background-image: -o-linear-gradient(top, $fromColor, $toColor); /* Opera 11.10+ */
  background-image: linear-gradient(top, $fromColor, $toColor);
}

@mixin gradient-ver-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
  background-color: mix($midColor, $endColor, 80%);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from($startColor), color-stop($colorStop, $midColor), to($endColor));
  background-image: -webkit-linear-gradient($startColor, $midColor $colorStop, $endColor);
  background-image: -moz-linear-gradient(top, $startColor, $midColor $colorStop, $endColor);
  background-image: -o-linear-gradient($startColor, $midColor $colorStop, $endColor);
  background-image: linear-gradient($startColor, $midColor $colorStop, $endColor);
  background-repeat: no-repeat;
}

@mixin gradient-radial($innerColor: #555, $outerColor: #333)  {
  background-color: $outerColor;
  background-image: -webkit-gradient(radial, center center, 0, center center, 460, from($innerColor), to($outerColor));
  background-image: -webkit-radial-gradient(circle, $innerColor, $outerColor);
  background-image: -moz-radial-gradient(circle, $innerColor, $outerColor);
  background-image: -o-radial-gradient(circle, $innerColor, $outerColor);
  background-repeat: no-repeat;
}

// Transition

@mixin transition($transition-property, $transition-time, $method) {
  -webkit-transition: $transition-property $transition-time $method;
  -moz-transition: $transition-property $transition-time $method;
  -ms-transition: $transition-property $transition-time $method;
  -o-transition: $transition-property $transition-time $method;
  transition: $transition-property $transition-time $method;
}

@mixin transition-twice($transition-property, $transition-time, $method, $transition-property, $transition-time, $method) {
  -webkit-transition: $transition-property $transition-time $method, $transition-property $transition-time $method ;
  -moz-transition: $transition-property $transition-time $method, $transition-property $transition-time $method ;
  -ms-transition: $transition-property $transition-time $method, $transition-property $transition-time $method ;
  -o-transition: $transition-property $transition-time $method, $transition-property $transition-time $method ;
  transition: $transition-property $transition-time $method, $transition-property $transition-time $method ;
}

/*  Box Sizing  */

@mixin box-sizing($string){
  -webkit-box-sizing: $string;
  -moz-box-sizing: $string;
  box-sizing: $string;
}

// Box Shadow

@mixin box-shadow($off-y, $off-x, $blur, $color){
  -moz-box-shadow: $off-y $off-x $blur $color; /* FF3.5+ */
  -webkit-box-shadow: $off-y $off-x $blur $color; /* Saf3.0+, Chrome */
  box-shadow: $off-y $off-x $blur $color; /* Opera 10.5, IE9 */
}

@mixin box-shadow-inset($top, $left, $blur, $color, $inset:"") {
  -webkit-box-shadow: $top $left $blur $color $inset;
  -moz-box-shadow: $top $left $blur $color $inset;
  box-shadow: $top $left $blur $color $inset;
}

@mixin box-shadow-twice($val1, $val2, $val3, $val4, $val5, $val6, $val7, $val8, $val9) {
  -webkit-box-shadow: $val1 $val2 $val3 $val4 $val5 $val6 $val7 $val8 $val9;
  -moz-box-shadow: $val1 $val2 $val3 $val4 $val5 $val6 $val7 $val8 $val9;
  box-shadow: $val1 $val2 $val3 $val4 $val5 $val6 $val7 $val8 $val9;
}

// Border Radius

@mixin border-radius($radius) {
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  border-radius: $radius;
}

@mixin border-radius-all-val($radius1, $radius2, $radius3, $radius4) {
  -webkit-border-radius: $radius1 $radius2 $radius3 $radius4;
  -moz-border-radius: $radius1 $radius2 $radius3 $radius4;
  border-radius: $radius1 $radius2 $radius3 $radius4;
}

@mixin transform($args){
  -webkit-transform: $args;
  -moz-transform: $args;
  -o-transform: $args;
  -ms-transform: $args;
  transform: $args;
}

// Opacity

@mixin opacity($opacity) {
  opacity: $opacity / 100;
  filter: alpha(opacity=$opacity);
}


// CSS

.clearfix {
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

.hide-text {
  font: 0 / 0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  @include box-sizing(border-box);
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a {
  &:focus {
    outline: thin dotted lighten($black, 20%);
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  &:hover, &:active {
    outline: 0;
  }
}

sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  /* Responsive images (ensure images dont scale beyond their parents) */
  max-width: 100%;
  /* Part 1: Set a maxium relative to the parent */
  width: auto\9;
  /* IE7-8 need help adjusting responsive images */
  height: auto;
  /* Part 2: Scale the height according to the width, otherwise you get stretching */
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

#map_canvas img, .google-maps img {
  max-width: none;
}

button, input, select, textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}

button, input {
  *overflow: visible;
  line-height: normal;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button, html input[type="button"] {
  -webkit-appearance: button;
  cursor: pointer;
}

input {
  &[type="reset"], &[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
  }
}

label, select, button {
  cursor: pointer;
}

input {
  &[type="button"], &[type="reset"], &[type="submit"], &[type="radio"], &[type="checkbox"] {
    cursor: pointer;
  }
  &[type="search"] {
    @include box-sizing(content-box);
    -webkit-appearance: textfield;
    &::-webkit-search-decoration, &::-webkit-search-cancel-button {
      -webkit-appearance: none;
    }
  }
}

textarea {
  overflow: auto;
  vertical-align: top;
}

@media print {
  * {
    text-shadow: none !important;
    color: $black !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  a {
    text-decoration: underline;
    &:visited {
      text-decoration: underline;
    }
    &[href]:after {
      content: " (" attr(href) ")";
    }
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after {
    content: "";
  }
  pre, blockquote {
    border: 1px solid lighten($black, 60%);
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr {
    page-break-inside: avoid;
  }
  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    page-break-after: avoid;
  }
}

body {
  margin: 0;
  font: normal 12px 'Open Sans', arial, sans-serif;
  line-height: 18px;
  color: lighten($black, 10%);
  background: lighten($black, 15%);
}

a {
  color: $black;
  text-decoration: none;
  @include transition(All, 0.5s, ease);
  &:hover {
    color: $primary-color;
    text-decoration: none;
  }
}

.img-rounded {
  @include border-radius(6px);
}

.img-polaroid {
  padding: 4px;
  background-color: $white;
  border: 1px solid lighten($black, 50%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  @include box-shadow(0, 1px, 3px, rgba(0, 0, 0, 0.1));
}

.img-circle {
  @include border-radius(500px);
}

.row {
  margin-left: -20px;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

[class*="span"] {
  float: left;
  min-height: 1px;
  margin-left: 20px;
}

.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container, .span12 {
  width: 940px;
}

.span11 {
  width: 860px;
}

.span10 {
  width: 780px;
}

.span9 {
  width: 700px;
}

.span8 {
  width: 620px;
}

.span7 {
  width: 540px;
}

.span6 {
  width: 460px;
}

.span5 {
  width: 380px;
}

.span4 {
  width: 300px;
}

.span3 {
  width: 220px;
}

.span2 {
  width: 140px;
}

.span1 {
  width: 60px;
}

.offset12 {
  margin-left: 980px;
}

.offset11 {
  margin-left: 900px;
}

.offset10 {
  margin-left: 820px;
}

.offset9 {
  margin-left: 740px;
}

.offset8 {
  margin-left: 660px;
}

.offset7 {
  margin-left: 580px;
}

.offset6 {
  margin-left: 500px;
}

.offset5 {
  margin-left: 420px;
}

.offset4 {
  margin-left: 340px;
}

.offset3 {
  margin-left: 260px;
}

.offset2 {
  margin-left: 180px;
}

.offset1 {
  margin-left: 100px;
}

.row-fluid {
  width: 100%;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
  [class*="span"] {
    display: block;
    width: 100%;
    min-height: 30px;
    @include box-sizing(border-box);
    float: left;
    margin-left: 2.127659574468085%;
    *margin-left: 2.074468085106383%;
    &:first-child {
      margin-left: 0;
    }
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 2.127659574468085%;
  }
  .span12 {
    width: 100%;
    *width: 99.94680851063829%;
  }
  .span11 {
    width: 91.48936170212765%;
    *width: 91.43617021276594%;
  }
  .span10 {
    width: 82.97872340425532%;
    *width: 82.92553191489361%;
  }
  .span9 {
    width: 74.46808510638297%;
    *width: 74.41489361702126%;
  }
  .span8 {
    width: 65.95744680851064%;
    *width: 65.90425531914893%;
  }
  .span7 {
    width: 57.44680851063829%;
    *width: 57.39361702127659%;
  }
  .span6 {
    width: 48.93617021276595%;
    *width: 48.88297872340425%;
  }
  .span5 {
    width: 40.42553191489362%;
    *width: 40.37234042553192%;
  }
  .span4 {
    width: 31.914893617021278%;
    *width: 31.861702127659576%;
  }
  .span3 {
    width: 23.404255319148934%;
    *width: 23.351063829787233%;
  }
  .span2 {
    width: 14.893617021276595%;
    *width: 14.840425531914894%;
  }
  .span1 {
    width: 6.382978723404255%;
    *width: 6.329787234042553%;
  }
  .offset12 {
    margin-left: 104.25531914893617%;
    *margin-left: 104.14893617021275%;
    &:first-child {
      margin-left: 102.12765957446808%;
      *margin-left: 102.02127659574467%;
    }
  }
  .offset11 {
    margin-left: 95.74468085106382%;
    *margin-left: 95.6382978723404%;
    &:first-child {
      margin-left: 93.61702127659574%;
      *margin-left: 93.51063829787232%;
    }
  }
  .offset10 {
    margin-left: 87.23404255319149%;
    *margin-left: 87.12765957446807%;
    &:first-child {
      margin-left: 85.1063829787234%;
      *margin-left: 84.99999999999999%;
    }
  }
  .offset9 {
    margin-left: 78.72340425531914%;
    *margin-left: 78.61702127659572%;
    &:first-child {
      margin-left: 76.59574468085106%;
      *margin-left: 76.48936170212764%;
    }
  }
  .offset8 {
    margin-left: 70.2127659574468%;
    *margin-left: 70.10638297872339%;
    &:first-child {
      margin-left: 68.08510638297872%;
      *margin-left: 67.9787234042553%;
    }
  }
  .offset7 {
    margin-left: 61.70212765957446%;
    *margin-left: 61.59574468085106%;
    &:first-child {
      margin-left: 59.574468085106375%;
      *margin-left: 59.46808510638297%;
    }
  }
  .offset6 {
    margin-left: 53.191489361702125%;
    *margin-left: 53.085106382978715%;
    &:first-child {
      margin-left: 51.063829787234035%;
      *margin-left: 50.95744680851063%;
    }
  }
  .offset5 {
    margin-left: 44.68085106382979%;
    *margin-left: 44.57446808510638%;
    &:first-child {
      margin-left: 42.5531914893617%;
      *margin-left: 42.4468085106383%;
    }
  }
  .offset4 {
    margin-left: 36.170212765957444%;
    *margin-left: 36.06382978723405%;
    &:first-child {
      margin-left: 34.04255319148936%;
      *margin-left: 33.93617021276596%;
    }
  }
  .offset3 {
    margin-left: 27.659574468085104%;
    *margin-left: 27.5531914893617%;
    &:first-child {
      margin-left: 25.53191489361702%;
      *margin-left: 25.425531914893618%;
    }
  }
  .offset2 {
    margin-left: 19.148936170212764%;
    *margin-left: 19.04255319148936%;
    &:first-child {
      margin-left: 17.02127659574468%;
      *margin-left: 16.914893617021278%;
    }
  }
  .offset1 {
    margin-left: 10.638297872340425%;
    *margin-left: 10.53191489361702%;
    &:first-child {
      margin-left: 8.51063829787234%;
      *margin-left: 8.404255319148938%;
    }
  }
}

[class*="span"].hide, .row-fluid [class*="span"].hide {
  display: none;
}

[class*="span"].pull-right, .row-fluid [class*="span"].pull-right {
  float: right;
}

.container {
  margin-right: auto;
  margin-left: auto;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

.container-fluid {
  padding-right: 10px;
  padding-left: 10px;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

p {
  margin: 0 0 10px;
}

.lead {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 200;
  line-height: 30px;
}

small {
  font-size: 85%;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

cite {
  font-style: normal;
}

.muted {
  color: lighten($black, 60%);
}

a.muted:hover {
  color: lighten($black, 50%);
}

.text-warning {
  color: $nagpurOrange;
}

a.text-warning:hover {
  color: darken($nagpurOrange, 10%);
}

.text-error {
  color: $rubyRed;
}

a.text-error:hover {
  color: darken($rubyRed, 10%);
}

.text-info {
  color: $jetBlue;
}

a.text-info:hover {
  color: darken($jetBlue, 10%);
}

.text-success {
  color: $goGreen;
}

a.text-success:hover {
  color: darken($goGreen, 10%);
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 20px;
  color: inherit;
  text-rendering: optimizelegibility;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
  font-weight: normal;
  line-height: 1;
  color: lighten($black, 60%);
}

h1, h2, h3 {
  line-height: 40px;
}

h1 {
  font-size: 38.5px;
}

h2 {
  font-size: 31.5px;
}

h3 {
  font-size: 24.5px;
}

h4 {
  font-size: 17.5px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 11.9px;
}

h1 small {
  font-size: 24.5px;
}

h2 small {
  font-size: 17.5px;
}

h3 small, h4 small {
  font-size: 14px;
}

.page-header {
  padding-bottom: 9px;
  margin: 20px 0 30px;
  border-bottom: 1px solid darken($white, 6.5%);
}

.stylish-lists{
  .upper-alpha {
    list-style: upper-alpha;
  }
  .lower-alpha{
    list-style: lower-alpha;
  }
  .roman-list {
    list-style: upper-roman;
  }
  .decimal-leading-zero{
    list-style: decimal-leading-zero;
  }
  ul, ol {
    padding: 0;
    margin: 0 0 10px 25px;
    list-style: disc;
  }

  ul {
    ul, ol {
      margin-bottom: 0;
    }
  }

  ol {
    ol, ul {
      margin-bottom: 0;
    }
  }

  li {
    line-height: 20px;
  }

  ul.unstyled, ol.unstyled, ul.inline, ol.inline {
    margin-left: 0;
    list-style: none;
  }

  ul.inline > li, ol.inline > li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
  }

  dl {
    margin-bottom: 20px;
  }

  dt, dd {
    line-height: 20px;
  }

  dt {
    font-weight: bold;
  }

  dd {
    margin-left: 20px;
  }

  .dl-horizontal {
    *zoom: 1;
    &:before {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      display: table;
      content: "";
      line-height: 0;
      clear: both;
    }
    dt {
      float: left;
      width: 160px;
      clear: left;
      text-align: right;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    dd {
      margin-left: 180px;
    }
  }
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid darken($white, 6.5%);
  border-bottom: 1px solid $white;
}

abbr {
  &[title], &[data-original-title] {
    cursor: help;
    border-bottom: 1px dotted lighten($black, 60%);
  }
  &.initialism {
    font-size: 90%;
    text-transform: uppercase;
  }
}

blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 20px;
  border-left: 4px solid darken($white,8%);
  p {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
  }
  .title{
    color: $nagpurOrange;
    font-weight: bold;
    font-size: 14px;
  }
  small {
    display: block;
    line-height: 20px;
    color: lighten($black, 60%);
    &:before {
      content: '\2014 \00A0';
    }
  }
  &.pull-right {
    float: right;
    padding-right: 15px;
    padding-left: 0;
    border-right: 5px solid darken($white, 6.5%);
    border-left: 0;
    p {
      text-align: right;
    }
    .title{
      text-align: right;
    }
    small {
      text-align: right;
      &:before {
        content: '';
      }
      &:after {
        content: '\00A0 \2014';
      }
    }
  }
}

q {
  &:before, &:after {
    content: "";
  }
}

blockquote {
  &:before, &:after {
    content: "";
  }
}

address {
  display: block;
  margin-bottom: 20px;
  font-style: normal;
  line-height: 20px;
}

code, pre {
  padding: 0 3px 2px;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 12px;
  color: lighten($black, 20%);
  @include border-radius(3px)
}

code {
  padding: 2px 4px;
  color: $rubyRed;
  background-color: darken($white, 5%);
  border: 1px solid darken($white, 9%);
  white-space: nowrap;
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 20px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  background-color: darken($white, 4.5%);
  border: 1px solid lighten($black, 50%);
  border: 1px solid rgba(0, 0, 0, 0.15);
  @include border-radius(4px);
  &.prettyprint {
    margin-bottom: 20px;
  }
  code {
    padding: 0;
    color: inherit;
    white-space: pre;
    white-space: pre-wrap;
    background-color: transparent;
    border: 0;
  }
}

.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}

.label, .badge {
  display: inline-block;
  padding: 2px 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: $white;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  background-color: lighten($black, 60%);
}

.label {
  @include border-radius(2px);
}

.badge {
  padding-left: 9px;
  padding-right: 9px;
  @include border-radius(9px);
}

.label:empty, .badge:empty {
  display: none;
}

a {
  &.label:hover, &.badge:hover {
    color: $white;
    text-decoration: none;
    cursor: pointer;
  }
}

.label-important, .badge-important {
  background-color: $rubyRed;
}

.label-important[href], .badge-important[href] {
  background-color: darken($rubyRed, 5%);
}

.label-warning, .badge-warning {
  background-color: $lemonYellow;
}

.label-warning[href], .badge-warning[href] {
  background-color: darken($lemonYellow, 5%);
}

.label-success, .badge-success {
  background-color: $goGreen;
}

.label-success[href], .badge-success[href] {
  background-color: darken($goGreen, 5%);
}

.label-info, .badge-info {
  background-color: $jetBlue;
}

.label-info[href], .badge-info[href] {
  background-color: darken($jetBlue, 5%);
}

.label-inverse, .badge-inverse {
  background-color: lighten($black, 20%);
}

.label-inverse[href], .badge-inverse[href] {
  background-color: lighten($black, 15%);
}

.btn {
  .label, .badge {
    position: relative;
    top: -1px;
  }
}

.btn-mini {
  .label, .badge {
    top: 0;
  }
}

table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}

.table {
  width: 100%;
  margin-bottom: 10px;
  th, td {
    padding: 10px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid darken($white, 12%);
  }
  th {
    font-weight: bold;
    padding: 10px;
    background: darken($white, 5%);
    color: lighten($black, 30%);
  }
  thead th {
    vertical-align: bottom;
  }
  caption + thead tr:first-child {
    th, td {
      border-top: 0;
    }
  }
  colgroup + thead tr:first-child {
    th, td {
      border-top: 0;
    }
  }
  thead:first-child tr:first-child {
    th, td {
      border-top: 0;
    }
  }
  tbody + tbody {
    border-top: 2px solid darken($white, 15%);
  }
  .table {
    background-color: $white;
  }
  td.highlight{
    background: darken($white, 8%);
  }
  td.highlight-even{
    background: darken($white, 3%);
  }
  td.no-border{
    border-left: none;
    border-right: none;
  }
}

.table-condensed {
  th, td {
    padding: 4px 8px;
  }
  th{
    padding: 8px;
  }
}

.table-bordered {
  border: 1px solid darken($white, 12%);
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
  @include border-radius(2px);
  th, td {
    border-left: 1px solid darken($white, 12%);
  }
  caption + {
    thead tr:first-child th {
      border-top: 0;
    }
    tbody tr:first-child {
      th, td {
        border-top: 0;
      }
    }
  }
  colgroup + {
    thead tr:first-child th {
      border-top: 0;
    }
    tbody tr:first-child {
      th, td {
        border-top: 0;
      }
    }
  }
  thead:first-child tr:first-child th {
    border-top: 0;
  }
  tbody:first-child tr:first-child {
    th, td {
      border-top: 0;
    }
  }
  thead:first-child tr:first-child > th:first-child, tbody:first-child tr:first-child > td:first-child {
    @include border-radius-all-val(2px, 0, 0, 0);
  }
  thead:first-child tr:first-child > th:last-child, tbody:first-child tr:first-child > td:last-child {
    @include border-radius-all-val(0, 2px, 0, 0);
  }
  thead:last-child tr:last-child > th:first-child, tbody:last-child tr:last-child > td:first-child, tfoot:last-child tr:last-child > td:first-child {
    @include border-radius-all-val(0, 0, 0, 2px);
  }
  thead:last-child tr:last-child > th:last-child, tbody:last-child tr:last-child > td:last-child {
    @include border-radius-all-val(0, 0, 2px, 0);
  }
  tfoot {
    &:last-child tr:last-child > td:last-child {
      @include border-radius-all-val(0, 0, 2px, 0);
    }
    + tbody:last-child tr:last-child td {
      &:first-child {
        @include border-radius-all-val(0, 0, 0, 0);
      }
      &:last-child {
        @include border-radius-all-val(0, 0, 2px, 0);
      }
    }
  }
  caption + {
    thead tr:first-child th:first-child, tbody tr:first-child td:first-child {
      @include border-radius-all-val(2px, 0, 0, 0);
    }
  }
  colgroup + {
    thead tr:first-child th:first-child, tbody tr:first-child td:first-child {
      @include border-radius-all-val(2px, 0, 0, 0);
    }
  }
  caption + {
    thead tr:first-child th:last-child, tbody tr:first-child td:last-child {
      @include border-radius-all-val(0, 2px, 0, 0);
    }
  }
  colgroup + {
    thead tr:first-child th:last-child, tbody tr:first-child td:last-child {
      @include border-radius-all-val(0, 2px, 0, 0);
    }
  }
}

.table-striped tbody > tr:nth-child(odd) > {
  td{
    background-color: darken($white, 2%);
  }
}

.table-hover tbody tr:hover {
  td {
    background-color: darken($white, 4%);
  }
}

table {
  td[class*="span"], th[class*="span"] {
    display: table-cell;
    float: none;
    margin-left: 0;
  }
}

.row-fluid table {
  td[class*="span"], th[class*="span"] {
    display: table-cell;
    float: none;
    margin-left: 0;
  }
}

.table {
  td.span1, th.span1 {
    float: none;
    width: 44px;
    margin-left: 0;
  }
  td.span2, th.span2 {
    float: none;
    width: 124px;
    margin-left: 0;
  }
  td.span3, th.span3 {
    float: none;
    width: 204px;
    margin-left: 0;
  }
  td.span4, th.span4 {
    float: none;
    width: 284px;
    margin-left: 0;
  }
  td.span5, th.span5 {
    float: none;
    width: 364px;
    margin-left: 0;
  }
  td.span6, th.span6 {
    float: none;
    width: 444px;
    margin-left: 0;
  }
  td.span7, th.span7 {
    float: none;
    width: 524px;
    margin-left: 0;
  }
  td.span8, th.span8 {
    float: none;
    width: 604px;
    margin-left: 0;
  }
  td.span9, th.span9 {
    float: none;
    width: 684px;
    margin-left: 0;
  }
  td.span10, th.span10 {
    float: none;
    width: 764px;
    margin-left: 0;
  }
  td.span11, th.span11 {
    float: none;
    width: 844px;
    margin-left: 0;
  }
  td.span12, th.span12 {
    float: none;
    width: 924px;
    margin-left: 0;
  }
  tbody tr {
    &.success td, td.success {
      background-color: lighten($goGreen, 35%);
    }
    &.error td, td.error {
      background-color: lighten($rubyRed, 36%);
    }
    &.warning td, td.warning {
      background-color: lighten($lemonYellow, 32%);
    }
    &.info td, td.info {
      background-color: lighten($jetBlue, 36%);
    }
  }
}

.table-hover tbody tr {
  &.success:hover td {
    background-color: lighten($goGreen, 29%);
  }
  &.error:hover td {
    background-color: lighten($rubyRed, 29%);
  }
  &.warning:hover td {
    background-color: lighten($lemonYellow, 30%);
  }
  &.info:hover td {
    background-color: lighten($jetBlue, 32%);
  }
}

form {
  margin: 0 0 20px;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 40px;
  color: lighten($black, 20%);
  border: 0;
  border-bottom: 1px solid darken($white, 5%);
  small {
    font-size: 15px;
    color: lighten($black, 60%);
  }
}

label, input, button, select, textarea {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
}

input, button, select, textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

label {
  display: block;
  margin-bottom: 5px;
}

select, textarea {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: lighten($black, 32%);
  @include border-radius(2px);
  vertical-align: middle;
}

input {
  &[type="text"], &[type="password"], &[type="datetime"], &[type="datetime-local"], &[type="date"], &[type="month"], &[type="time"], &[type="week"], &[type="number"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"], &[type="color"] {
    display: inline-block;
    height: 20px;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    color: lighten($black, 32%);
    @include border-radius(2px);
    vertical-align: middle;
  }
}

.uneditable-input {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: lighten($black, 32%);
  @include border-radius(2px);
  vertical-align: middle;
}

input, textarea, .uneditable-input {
  width: 206px;
}

textarea {
  height: auto;
  background-color: $white;
  border: 1px solid darken($white, 15%);
  @include transition-twice(border, linear, .2s, box-shadow, linear, .2s);
}

input {
  &[type="text"], &[type="password"], &[type="datetime"], &[type="datetime-local"], &[type="date"], &[type="month"], &[type="time"], &[type="week"], &[type="number"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"], &[type="color"] {
    background-color: $white;
    border: 1px solid darken($white, 15%);
    @include transition-twice(border, linear, .2s, box-shadow, linear, .2s);
  }
}

.uneditable-input {
  background-color: $white;
  border: 1px solid darken($white, 15%);
  @include box-shadow-inset(0, 1px, 1px, rgba(0, 0, 0, 0.075), inset);
  @include transition-twice(border, linear, .2s, box-shadow, linear, .2s);
}

textarea:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */
  @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 8px, rgba(82, 168, 236, 0.6));
}

input {
  &[type="text"]:focus, &[type="password"]:focus, &[type="datetime"]:focus, &[type="datetime-local"]:focus, &[type="date"]:focus, &[type="month"]:focus, &[type="time"]:focus, &[type="week"]:focus, &[type="number"]:focus, &[type="email"]:focus, &[type="url"]:focus, &[type="search"]:focus, &[type="tel"]:focus, &[type="color"]:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9;
    /* IE6-9 */
    @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 8px, rgba(82, 168, 236, 0.6));
  }
}

.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */
  @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 8px, rgba(82, 168, 236, 0.6));
}

input {
  &[type="radio"], &[type="checkbox"] {
    margin: 4px 0 0;
    *margin-top: 0;
    /* IE7 */
    margin-top: 1px \9;
    /* IE8-9 */
    line-height: normal;
  }
  &[type="file"], &[type="image"], &[type="submit"], &[type="reset"], &[type="button"], &[type="radio"], &[type="checkbox"] {
    width: auto;
  }
}

select, input[type="file"] {
  height: 30px;
  /* In IE7, the height of the select element cannot be changed by height, only font-size */
  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */
  line-height: 30px;
}

select {
  width: 220px;
  border: 1px solid darken($white, 10%);
  background-color: $white;
  &[multiple], &[size] {
    height: auto;
  }
  &:focus {
    outline: thin dotted lighten($black, 20%);
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
}

input {
  &[type="file"]:focus, &[type="radio"]:focus, &[type="checkbox"]:focus {
    outline: thin dotted lighten($black, 20%);
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
}

.uneditable-input, .uneditable-textarea {
  color: lighten($black, 60%);
  background-color: #fcfcfc;
  border-color: lighten($black, 70%);;
  @include box-shadow-inset(0, 1px, 2px, rgba(0, 0, 0, 0.025), inset);
  cursor: not-allowed;
}

.uneditable-input {
  overflow: hidden;
  white-space: nowrap;
}

.uneditable-textarea {
  width: auto;
  height: auto;
}

input:-moz-placeholder, textarea:-moz-placeholder, input:-ms-input-placeholder, textarea:-ms-input-placeholder, input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: lighten($black, 60%);
}

.radio, .checkbox {
  min-height: 20px;
  padding-left: 20px;
}

.radio input[type="radio"], .checkbox input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}

.controls > {
  .radio:first-child, .checkbox:first-child {
    padding-top: 5px;
  }
}

.radio.inline, .checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.input-mini {
  width: 60px;
}

.input-small {
  width: 90px;
}

.input-medium {
  width: 150px;
}

.input-large {
  width: 210px;
}

.input-xlarge {
  width: 270px;
}

.input-xxlarge {
  width: 530px;
}

input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input[class*="span"] {
  float: none;
  margin-left: 0;
}

.row-fluid {
  input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input[class*="span"] {
    float: none;
    margin-left: 0;
  }
}

.input-append {
  input[class*="span"], .uneditable-input[class*="span"] {
    display: inline-block;
  }
}

.input-prepend {
  input[class*="span"], .uneditable-input[class*="span"] {
    display: inline-block;
  }
}

.row-fluid {
  input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input[class*="span"], .input-prepend [class*="span"], .input-append [class*="span"] {
    display: inline-block;
  }
}

input, textarea, .uneditable-input {
  margin-left: 0;
}

.controls-row [class*="span"] + [class*="span"] {
  margin-left: 20px;
}

input.span12, textarea.span12, .uneditable-input.span12 {
  width: 926px;
}

input.span11, textarea.span11, .uneditable-input.span11 {
  width: 846px;
}

input.span10, textarea.span10, .uneditable-input.span10 {
  width: 766px;
}

input.span9, textarea.span9, .uneditable-input.span9 {
  width: 686px;
}

input.span8, textarea.span8, .uneditable-input.span8 {
  width: 606px;
}

input.span7, textarea.span7, .uneditable-input.span7 {
  width: 526px;
}

input.span6, textarea.span6, .uneditable-input.span6 {
  width: 446px;
}

input.span5, textarea.span5, .uneditable-input.span5 {
  width: 366px;
}

input.span4, textarea.span4, .uneditable-input.span4 {
  width: 286px;
}

input.span3, textarea.span3, .uneditable-input.span3 {
  width: 206px;
}

input.span2, textarea.span2, .uneditable-input.span2 {
  width: 126px;
}

input.span1, textarea.span1, .uneditable-input.span1 {
  width: 46px;
}

.controls-row {
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
  [class*="span"] {
    float: left;
  }
}

.row-fluid .controls-row [class*="span"] {
  float: left;
}

.controls-row {
  .checkbox[class*="span"], .radio[class*="span"] {
    padding-top: 5px;
  }
}

input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
  cursor: not-allowed;
  background-color: darken($white, 6.5%);
}

input {
  &[type="radio"][disabled], &[type="checkbox"][disabled], &[type="radio"][readonly], &[type="checkbox"][readonly] {
    background-color: transparent;
  }
}

.control-group {
  &.warning {
    .control-label, .help-block, .help-inline, .checkbox, .radio, input, select, textarea {
      color: $lemonYellow;
    }
    input, select, textarea {
      border-color: $lemonYellow;
    }
    input:focus, select:focus, textarea:focus {
      border-color: darken($lemonYellow, 10%);
      @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 6px, lighten($lemonYellow, 10%));
    }
    .input-prepend .add-on, .input-append .add-on {
      color: $lemonYellow;
      background-color: lighten($lemonYellow, 20%);
      border-color: $lemonYellow;
    }
  }
  &.error {
    .control-label, .help-block, .help-inline, .checkbox, .radio, input, select, textarea {
      color: $rubyRed;
    }
    input, select, textarea {
      border-color: $rubyRed;
    }
    input:focus, select:focus, textarea:focus {
      border-color: darken($rubyRed, 10%);
      @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 6px, lighten($rubyRed, 10%));
    }
    .input-prepend .add-on, .input-append .add-on {
      color: $rubyRed;
      background-color: lighten($rubyRed, 20%);
      border-color: $rubyRed;
    }
  }
  &.success {
    .control-label, .help-block, .help-inline, .checkbox, .radio, input, select, textarea {
      color: $goGreen;
    }
    input, select, textarea {
      border-color: $goGreen;
    }
    input:focus, select:focus, textarea:focus {
      border-color: darken($goGreen, 10%);
      @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 6px, lighten($goGreen, 10%));
    }
    .input-prepend .add-on, .input-append .add-on {
      color: $goGreen;
      background-color: lighten($goGreen, 20%);
      border-color: $goGreen;
    }
  }
  &.info {
    .control-label, .help-block, .help-inline, .checkbox, .radio, input, select, textarea {
      color: $jetBlue;
    }
    input, select, textarea {
      border-color: $jetBlue;
    }
    input:focus, select:focus, textarea:focus {
      border-color: darken($jetBlue, 10%);
      @include box-shadow-twice(inset, 0, 1px, 1px, rgba(0, 0, 0, 0.075), 0, 0, 6px, lighten($jetBlue, 10%));
    }
    .input-prepend .add-on, .input-append .add-on {
      color: $jetBlue;
      background-color: lighten($jetBlue, 20%);
      border-color: $jetBlue;
    }
  }
}

input:focus:invalid, textarea:focus:invalid, select:focus:invalid {
  color: lighten($rubyRed, 10%);
  border-color: lighten($rubyRed, 20%);
}

input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:focus {
  border-color: lighten($rubyRed, 2%);
  @include box-shadow(0, 0, 6px, lighten($rubyRed, 20%));
}

.form-actions {
  padding: 19px 20px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: darken($white, 4.5%);
  border-top: 1px solid darken($white, 3%);
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

.help-block, .help-inline {
  color: lighten($black, 85%);
}

.help-block {
  display: block;
  margin-bottom: 10px;
}

.help-inline {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  vertical-align: middle;
  padding-left: 5px;
}

.input-append, .input-prepend {
  margin-bottom: 5px;
  font-size: 0;
  white-space: nowrap;
}

.input-append input, .input-prepend input, .input-append select, .input-prepend select, .input-append .uneditable-input, .input-prepend .uneditable-input, .input-append .dropdown-menu, .input-prepend .dropdown-menu {
  font-size: 14px;
}

.input-append input, .input-prepend input, .input-append select, .input-prepend select, .input-append .uneditable-input, .input-prepend .uneditable-input {
  position: relative;
  margin-bottom: 0;
  *margin-left: 0;
  vertical-align: top;
  @include border-radius-all-val(0, 2px, 2px, 0);
}

.input-append input:focus, .input-prepend input:focus, .input-append select:focus, .input-prepend select:focus, .input-append .uneditable-input:focus, .input-prepend .uneditable-input:focus {
  z-index: 2;
}

.input-append .add-on, .input-prepend .add-on {
  display: inline-block;
  width: auto;
  height: 20px;
  min-width: 16px;
  padding: 4px 5px;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  text-shadow: 0 1px 0 $white;
  background-color: darken($white, 6.5%);
  border: 1px solid darken($white, 15%);
}

.input-append .add-on, .input-prepend .add-on, .input-append .btn, .input-prepend .btn, .input-append .btn-group > .dropdown-toggle, .input-prepend .btn-group > .dropdown-toggle {
  vertical-align: top;
  @include border-radius(0px);
}

.input-append .active {
  background-color: lighten($goGreen, 30%);
  border-color: lihjten($goGreen, 5%);
}

.input-prepend {
  .active {
    background-color: lighten($goGreen, 30%);
    border-color: lihjten($goGreen, 5%);
  }
  .add-on, .btn {
    margin-right: -1px;
  }
  .add-on:first-child, .btn:first-child {
    @include border-radius-all-val(2px, 0, 0, 2px);
  }
}

.input-append {
  input, select, .uneditable-input {
    @include border-radius-all-val(2px, 0, 0, 2px);
  }
  input + .btn-group .btn:last-child, select + .btn-group .btn:last-child, .uneditable-input + .btn-group .btn:last-child {
    @include border-radius-all-val(0, 2px, 2px, 0);
  }
  .add-on, .btn, .btn-group {
    margin-left: -1px;
  }
  .add-on:last-child, .btn:last-child, .btn-group:last-child > .dropdown-toggle {
    @include border-radius-all-val(0, 2px, 2px, 0);
  }
}

.input-prepend.input-append {
  input, select, .uneditable-input {
    @include border-radius(0px);
  }
  input + .btn-group .btn, select + .btn-group .btn, .uneditable-input + .btn-group .btn {
    @include border-radius-all-val(0, 2px, 2px, 0);
  }
  .add-on:first-child, .btn:first-child {
    margin-right: -1px;
    @include border-radius-all-val(2px, 0, 0, 2px);
  }
  .add-on:last-child, .btn:last-child {
    margin-left: -1px;
    @include border-radius-all-val(0, 2px, 2px, 0);
  }
  .btn-group:first-child {
    margin-left: 0;
  }
}

input.search-query {
  padding-right: 14px;
  padding-right: 4px \9;
  padding-left: 14px;
  padding-left: 4px \9;
  /* IE7-8 doesnt have border-radius, so dont indent the padding */
  margin-bottom: 0;
  @include border-radius(15px);
}

/* Allow for input prepend/append in search forms */

.form-search {
  .input-append .search-query, .input-prepend .search-query {
    @include border-radius(0px);
  }
  .input-append {
    .search-query {
      @include border-radius-all-val(14px, 0, 0, 14px);
    }
    .btn {
      @include border-radius-all-val(14px, 0, 0, 14px);
    }
  }
  .input-prepend {
    .search-query {
      @include border-radius-all-val(0, 14px, 14px, 0);
    }
    .btn {
      @include border-radius-all-val(14px, 0, 0, 14px);
    }
  }
  input {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */
    *zoom: 1;
    margin-bottom: 0;
    vertical-align: middle;
  }
}

.form-inline input, .form-horizontal input, .form-search textarea, .form-inline textarea, .form-horizontal textarea, .form-search select, .form-inline select, .form-horizontal select, .form-search .help-inline, .form-inline .help-inline, .form-horizontal .help-inline, .form-search .uneditable-input, .form-inline .uneditable-input, .form-horizontal .uneditable-input, .form-search .input-prepend, .form-inline .input-prepend, .form-horizontal .input-prepend, .form-search .input-append, .form-inline .input-append, .form-horizontal .input-append {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-search .hide, .form-inline .hide, .form-horizontal .hide {
  display: none;
}

.form-search label, .form-inline label, .form-search .btn-group, .form-inline .btn-group {
  display: inline-block;
}

.form-search .input-append, .form-inline .input-append, .form-search .input-prepend, .form-inline .input-prepend {
  margin-bottom: 0;
}

.form-search {
  .radio, .checkbox {
    padding-left: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }
}

.form-inline {
  .radio, .checkbox {
    padding-left: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }
}

.form-search {
  .radio input[type="radio"], .checkbox input[type="checkbox"] {
    float: left;
    margin-right: 3px;
    margin-left: 0;
  }
}

.form-inline {
  .radio input[type="radio"], .checkbox input[type="checkbox"] {
    float: left;
    margin-right: 3px;
    margin-left: 0;
  }
}

.control-group {
  margin-bottom: 10px;
}

legend + .control-group {
  margin-top: 20px;
  -webkit-margin-top-collapse: separate;
}

.form-horizontal {
  .control-group {
    margin-bottom: 20px;
    *zoom: 1;
    &:before {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      display: table;
      content: "";
      line-height: 0;
      clear: both;
    }
  }
  .control-label {
    float: left;
    width: 160px;
    padding-top: 5px;
    text-align: right;
  }
  .controls {
    *display: inline-block;
    *padding-left: 20px;
    margin-left: 180px;
    *margin-left: 0;
    &:first-child {
      *padding-left: 180px;
    }
  }
  .help-block {
    margin-bottom: 0;
  }
  input + .help-block, select + .help-block, textarea + .help-block, .uneditable-input + .help-block, .input-prepend + .help-block, .input-append + .help-block {
    margin-top: 10px;
  }
  .form-actions {
    padding-left: 180px;
  }
}

.btn {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  padding: 4px 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: lighten($black, 20%);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  @include linear-gradient($white, darken($white, 10%));
  background-repeat: repeat-x;
  border-color: darken($white, 6%) darken($white, 6%) darken($white, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border: 1px solid darken($white, 6%);
  *border: 0;
  border-bottom-color: darken($white, 10%);
  @include border-radius(2px);
  *margin-left: .3em;
  @include box-shadow-twice(inset, 0, 1px, 0, rgba(255, 255, 255, 0.2), 0, 1px, 2px, rgba(0, 0, 0, 0.05));
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: lighten($black, 20%);
    background-color: darken($white, 7%);
    *background-color: darken($white, 9%);
  }
  &:active, &.active {
    background-color: darken($white, 20%) \9;
  }
  &:first-child {
    *margin-left: 0;
  }
  &:hover {
    color: lighten($black, 20%);
    text-decoration: none;
    background-position: 0 -15px;
    @include transition(background-position, 0.1s, linear);
  }
  &:focus {
    outline: thin dotted lighten($black, 20%);
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  &.active, &:active {
    background-image: none;
    outline: 0;
    @include box-shadow-twice(inset, 0, 2px, 4px, rgba(0, 0, 0, 0.15), 0, 1px, 2px, rgba(0, 0, 0, 0.05));
  }
  &.disabled, &[disabled] {
    cursor: default;
    background-image: none;
    opacity: 0.65;
    @include box-shadow (0, 0, 0, $white);
  }
}

.btn-large {
  padding: 11px 19px;
  font-size: 17.5px;
  @include border-radius(4px);
  [class^="icon-"], [class*=" icon-"] {
    margin-top: 4px;
  }
}

.btn-small {
  padding: 2px 10px;
  font-size: 11.9px;
  @include border-radius(2px);
  [class^="icon-"], [class*=" icon-"] {
    margin-top: 0;
  }
}

.btn-mini {
  [class^="icon-"], [class*=" icon-"] {
    margin-top: -1px;
  }
  padding: 0 6px;
  font-size: 10.5px;
  @include border-radius(2px);
}

.btn-block {
  display: block;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  @include box-sizing(border-box);
  + .btn-block {
    margin-top: 5px;
  }
}

input {
  &[type="submit"].btn-block, &[type="reset"].btn-block, &[type="button"].btn-block {
    width: 100%;
  }
}

.btn-primary.active, .btn-warning.active, .btn-warning2.active, .btn-danger.active, .btn-success.active, .btn-info.active, .btn-inverse.active {
  color: rgba(255, 255, 255, 0.75);
}

.btn {
  border-color: darken($white, 10%);
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}

.btn-primary {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient($primary-color, darken($primary-color, 10%));
  background-repeat: repeat-x;
  border-color: $primary-color $primary-color darken($primary-color, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $primary-font-color;
    background-color: darken($primary-color, 10%);
    *background-color: darken($primary-color, 10%);
  }
  &:active, &.active {
    background-color: $primary-color \9;
  }
}

.btn-warning {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient($lemonYellow, darken($lemonYellow, 10%));
  border-color: $lemonYellow $lemonYellow darken($lemonYellow, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $white;
    background-color: darken($lemonYellow, 10%);
    *background-color: darken($lemonYellow, 10%);
  }
  &:active, &.active {
    background-color: $lemonYellow \9;
  }
}

.btn-warning2 {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient($nagpurOrange, darken($nagpurOrange, 10%));
  border-color: $nagpurOrange $nagpurOrange darken($nagpurOrange, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $white;
    background-color: darken($nagpurOrange, 10%);
    *background-color: darken($nagpurOrange, 10%);
  }
  &:active, &.active {
    background-color: $nagpurOrange \9;
  }
}

.btn-danger {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient($rubyRed, darken($rubyRed, 10%));
  border-color: $rubyRed $rubyRed darken($rubyRed, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $white;
    background-color: darken($rubyRed, 10%);
    *background-color: darken($rubyRed, 10%);
  }
  &:active, &.active {
    background-color: $rubyRed \9;
  }
}

.btn-success {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient($goGreen, darken($goGreen, 10%));
  border-color: $goGreen $goGreen darken($goGreen, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $white;
    background-color: darken($goGreen, 10%);
    *background-color: darken($goGreen, 10%);
  }
  &:active, &.active {
    background-color: $goGreen \9;
  }
}

.btn-info {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient($jetBlue, darken($jetBlue, 10%));
  border-color: $jetBlue $jetBlue darken($jetBlue, 10%);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $white;
    background-color: darken($jetBlue, 10%);
    *background-color: darken($jetBlue, 10%);
  }
  &:active, &.active {
    background-color: $jetBlue \9;
  }
}

.btn-inverse {
  color: $white;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  @include linear-gradient(lighten($black, 25%), lighten($black, 30%));
  border-color: lighten($black, 30%) lighten($black, 30%) $black;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  &:hover, &:active, &.active, &.disabled, &[disabled] {
    color: $white;
    background-color: lighten($black, 30%);
    *background-color: lighten($black, 30%);
  }
  &:active, &.active {
    background-color: $black \9;
  }
}

button.btn, input[type="submit"].btn {
  *padding-top: 3px;
  *padding-bottom: 3px;
}

button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button.btn.btn-large, input[type="submit"].btn.btn-large {
  *padding-top: 7px;
  *padding-bottom: 7px;
}

button.btn.btn-small, input[type="submit"].btn.btn-small {
  *padding-top: 3px;
  *padding-bottom: 3px;
}

button.btn.btn-mini, input[type="submit"].btn.btn-mini {
  *padding-top: 1px;
  *padding-bottom: 1px;
}

.btn-link {
  background-color: transparent;
  background-image: none;
  @include box-shadow (0, 0, 0, $white);
  &:active, &[disabled] {
    background-color: transparent;
    background-image: none;
    @include box-shadow (0, 0, 0, $white);
  }
  border-color: transparent;
  cursor: pointer;
  color: $primary-color;
  @include border-radius(0px);
  &:hover {
    color: darken($primary-color, 20%);
    text-decoration: underline;
    background-color: transparent;
  }
  &[disabled]:hover {
    color: lighten($black, 20%);
    text-decoration: none;
  }
}

[class^="icon-"], [class*=" icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  *margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("../img/glyphicons-halflings.png");
  background-position: 14px 14px;
  background-repeat: no-repeat;
  margin-top: 1px;
}

/* White icons with optional class, or on hover/active states of certain elements */

.icon-white {
  background-image: url("../img/glyphicons-halflings-white.png");
}

.nav-pills > .active > a > {
  [class^="icon-"], [class*=" icon-"] {
    background-image: url("../img/glyphicons-halflings-white.png");
  }
}

.nav-list > .active > a > {
  [class^="icon-"], [class*=" icon-"] {
    background-image: url("../img/glyphicons-halflings-white.png");
  }
}

.navbar-inverse .nav > .active > a > {
  [class^="icon-"], [class*=" icon-"] {
    background-image: url("../img/glyphicons-halflings-white.png");
  }
}

.dropdown-menu > {
  li > a:hover > {
    [class^="icon-"], [class*=" icon-"] {
      background-image: url("../img/glyphicons-halflings-white.png");
    }
  }
  .active > a > {
    [class^="icon-"], [class*=" icon-"] {
      background-image: url("../img/glyphicons-halflings-white.png");
    }
  }
}

.dropdown-submenu:hover > a > {
  [class^="icon-"], [class*=" icon-"] {
    background-image: url("../img/glyphicons-halflings-white.png");
  }
}

.icon-glass {
  background-position: 0      0;
}

.icon-music {
  background-position: -24px 0;
}

.icon-search {
  background-position: -48px 0;
}

.icon-envelope {
  background-position: -72px 0;
}

.icon-heart {
  background-position: -96px 0;
}

.icon-star-full {
  background-position: -120px 0;
}

.icon-star-empty {
  background-position: -144px 0;
}

.icon-user {
  background-position: -168px 0;
}

.icon-film {
  background-position: -192px 0;
}

.icon-th-large {
  background-position: -216px 0;
}

.icon-th {
  background-position: -240px 0;
}

.icon-th-list {
  background-position: -264px 0;
}

.icon-ok {
  background-position: -288px 0;
}

.icon-remove {
  background-position: -312px 0;
}

.icon-zoom-in {
  background-position: -336px 0;
}

.icon-zoom-out {
  background-position: -360px 0;
}

.icon-off {
  background-position: -384px 0;
}

.icon-signal {
  background-position: -408px 0;
}

.icon-cog {
  background-position: -432px 0;
}

.icon-trash {
  background-position: -456px 0;
}

.icon-home {
  background-position: 0 -24px;
}

.icon-file {
  background-position: -24px -24px;
}

.icon-time {
  background-position: -48px -24px;
}

.icon-road {
  background-position: -72px -24px;
}

.icon-download-alt {
  background-position: -96px -24px;
}

.icon-download {
  background-position: -120px -24px;
}

.icon-upload {
  background-position: -144px -24px;
}

.icon-inbox {
  background-position: -168px -24px;
}

.icon-play-circle {
  background-position: -192px -24px;
}

.icon-repeat {
  background-position: -216px -24px;
}

.icon-refresh {
  background-position: -240px -24px;
}

.icon-list-alt {
  background-position: -264px -24px;
}

.icon-lock {
  background-position: -287px -24px;
}

.icon-flag {
  background-position: -312px -24px;
}

.icon-headphones {
  background-position: -336px -24px;
}

.icon-volume-off {
  background-position: -360px -24px;
}

.icon-volume-down {
  background-position: -384px -24px;
}

.icon-volume-up {
  background-position: -408px -24px;
}

.icon-qrcode {
  background-position: -432px -24px;
}

.icon-barcode {
  background-position: -456px -24px;
}

.icon-tag {
  background-position: 0 -48px;
}

.icon-tags {
  background-position: -25px -48px;
}

.icon-book {
  background-position: -48px -48px;
}

.icon-bookmark {
  background-position: -72px -48px;
}

.icon-print {
  background-position: -96px -48px;
}

.icon-camera {
  background-position: -120px -48px;
}

.icon-text {
  background-position: -144px -48px;
}

.icon-bold {
  background-position: -167px -48px;
}

.icon-italic {
  background-position: -192px -48px;
}

.icon-text-height {
  background-position: -216px -48px;
}

.icon-text-width {
  background-position: -240px -48px;
}

.icon-align-left {
  background-position: -264px -48px;
}

.icon-align-center {
  background-position: -288px -48px;
}

.icon-align-right {
  background-position: -312px -48px;
}

.icon-align-justify {
  background-position: -336px -48px;
}

// .icon-list {
//   background-position: -360px -48px;
// }

.icon-indent-left {
  background-position: -384px -48px;
}

.icon-indent-right {
  background-position: -408px -48px;
}

.icon-facetime-video {
  background-position: -432px -48px;
}

.icon-picture {
  background-position: -456px -48px;
}

.icon-pencil {
  background-position: 0 -72px;
}

.icon-map-marker {
  background-position: -24px -72px;
}

.icon-adjust {
  background-position: -48px -72px;
}

.icon-tint {
  background-position: -72px -72px;
}

.icon-edit {
  background-position: -96px -72px;
}

// .icon-share {
//   background-position: -120px -72px;
// }

.icon-check {
  background-position: -144px -72px;
}

.icon-move {
  background-position: -168px -72px;
}

.icon-step-backward {
  background-position: -192px -72px;
}

.icon-fast-backward {
  background-position: -216px -72px;
}

.icon-backward {
  background-position: -240px -72px;
}

// .icon-play {
//   background-position: -264px -72px;
// }

// .icon-pause {
//   background-position: -288px -72px;
// }

.icon-stop {
  background-position: -312px -72px;
}

.icon-forward {
  background-position: -336px -72px;
}

.icon-fast-forward {
  background-position: -360px -72px;
}

.icon-step-forward {
  background-position: -384px -72px;
}

.icon-eject {
  background-position: -408px -72px;
}

.icon-chevron-left {
  background-position: -432px -72px;
}

.icon-chevron-right {
  background-position: -456px -72px;
}

.icon-plus-sign {
  background-position: 0 -96px;
}

.icon-minus-sign {
  background-position: -24px -96px;
}

.icon-remove-sign {
  background-position: -48px -96px;
}

.icon-ok-sign {
  background-position: -72px -96px;
}

.icon-question-sign {
  background-position: -96px -96px;
}

.icon-info-sign {
  background-position: -120px -96px;
}

.icon-screenshot {
  background-position: -144px -96px;
}

.icon-remove-circle {
  background-position: -168px -96px;
}

.icon-ok-circle {
  background-position: -192px -96px;
}

.icon-ban-circle {
  background-position: -216px -96px;
}

.icon-arrow-left {
  background-position: -240px -96px;
}

.icon-arrow-right {
  background-position: -264px -96px;
}

.icon-arrow-up {
  background-position: -289px -96px;
}

.icon-arrow-down {
  background-position: -312px -96px;
}

.icon-share-alt {
  background-position: -336px -96px;
}

.icon-resize-full {
  background-position: -360px -96px;
}

.icon-resize-small {
  background-position: -384px -96px;
}

.icon-plus {
  background-position: -408px -96px;
}

.icon-minus {
  background-position: -433px -96px;
}

.icon-asterisk {
  background-position: -456px -96px;
}

.icon-exclamation-sign {
  background-position: 0 -120px;
}

.icon-gift {
  background-position: -24px -120px;
}

.icon-leaf {
  background-position: -48px -120px;
}

.icon-fire {
  background-position: -72px -120px;
}

.icon-eye-open {
  background-position: -96px -120px;
}

.icon-eye-close {
  background-position: -120px -120px;
}

.icon-warning-sign {
  background-position: -144px -120px;
}

.icon-plane {
  background-position: -168px -120px;
}

.icon-calendar {
  background-position: -192px -120px;
}

.icon-random {
  background-position: -216px -120px;
  width: 16px;
}

.icon-comment {
  background-position: -240px -120px;
}

.icon-magnet {
  background-position: -264px -120px;
}

.icon-chevron-up {
  background-position: -288px -120px;
}

.icon-chevron-down {
  background-position: -313px -119px;
}

.icon-retweet {
  background-position: -336px -120px;
}

.icon-shopping-cart {
  background-position: -360px -120px;
}

.icon-folder-close {
  background-position: -384px -120px;
}

.icon-folder-open {
  background-position: -408px -120px;
  width: 16px;
}

.icon-resize-vertical {
  background-position: -432px -119px;
}

.icon-resize-horizontal {
  background-position: -456px -118px;
}

.icon-hdd {
  background-position: 0 -144px;
}

.icon-bullhorn {
  background-position: -24px -144px;
}

.icon-bell {
  background-position: -48px -144px;
}

.icon-certificate {
  background-position: -72px -144px;
}

.icon-thumbs-up {
  background-position: -96px -144px;
}

.icon-thumbs-down {
  background-position: -120px -144px;
}

.icon-hand-right {
  background-position: -144px -144px;
}

.icon-hand-left {
  background-position: -168px -144px;
}

.icon-hand-up {
  background-position: -192px -144px;
}

.icon-hand-down {
  background-position: -216px -144px;
}

.icon-circle-arrow-right {
  background-position: -240px -144px;
}

.icon-circle-arrow-left {
  background-position: -264px -144px;
}

.icon-circle-arrow-up {
  background-position: -288px -144px;
}

.icon-circle-arrow-down {
  background-position: -312px -144px;
}

.icon-globe {
  background-position: -336px -144px;
}

.icon-wrench {
  background-position: -360px -144px;
}

.icon-tasks {
  background-position: -384px -144px;
}

.icon-filter {
  background-position: -408px -144px;
}

.icon-briefcase {
  background-position: -432px -144px;
}

.icon-fullscreen {
  background-position: -456px -144px;
}

.btn-group {
  position: relative;
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  font-size: 0;
  vertical-align: middle;
  white-space: nowrap;
  *margin-left: .3em;
  &:first-child {
    *margin-left: 0;
  }
  + .btn-group {
    margin-left: 5px;
  }
}

.btn-toolbar {
  font-size: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  > {
    .btn + .btn, .btn-group + .btn, .btn + .btn-group {
      margin-left: 5px;
    }
  }
}

.btn-group {
  > {
    .btn {
      position: relative;
      @include border-radius(0px);
      line-height: 18px;
      + .btn {
        margin-left: -1px;
      }
      font-size: 12px;
    }
    .dropdown-menu, .popover {
      font-size: 12px;
    }
    .btn-mini {
      font-size: 10.5px;
    }
    .btn-small {
      font-size: 11.9px;
    }
    .btn-large {
      font-size: 17.5px;
    }
    .btn {
      &:first-child {
        margin-left: 0;
        @include border-radius-all-val(2px, 0, 0, 2px);
      }
      &:last-child {
        @include border-radius-all-val(0, 2px, 2px, 0);
      }
    }
    .dropdown-toggle {
      @include border-radius-all-val(0, 2px, 2px, 0);
    }
    .btn.large {
      &:first-child {
        margin-left: 0;
        @include border-radius-all-val(4px, 0, 0, 4px);
      }
      &:last-child {
        @include border-radius-all-val(0, 4px, 4px, 0);
      }
    }
    .large.dropdown-toggle {
      @include border-radius-all-val(0, 4px, 4px, 0);
    }
    .btn {
      &:hover, &:focus, &:active, &.active {
        z-index: 2;
      }
    }
  }
  .dropdown-toggle:active {
    outline: 0;
  }
  &.open {
    .dropdown-toggle {
      outline: 0;
      background-image: none;
      @include box-shadow-twice(inset, 0, 2px, 4px, rgba(0, 0, 0, 0.15), 0, 1px, 2px, rgba(0, 0, 0, 0.05));
    }
    .btn.dropdown-toggle {
      background-color: darken($white, 10%);
    }
    .btn-primary.dropdown-toggle {
      background-color: darken($primary-color, 10%);
    }
    .btn-warning.dropdown-toggle {
      background-color: darken($lemonYellow, 10%);
    }
    .btn-danger.dropdown-toggle {
      background-color: darken($rubyRed, 10%);
    }
    .btn-success.dropdown-toggle {
      background-color: darken($goGreen, 10%);
    }
    .btn-info.dropdown-toggle {
      background-color: darken($jetBlue, 10%);
    }
    .btn-inverse.dropdown-toggle {
      background-color: lighten($black, 13%);
    }
  }
  > {
    .btn + .dropdown-toggle {
      padding-left: 8px;
      padding-right: 8px;
      @include box-shadow-twice(inset, 0, 1px, 0, rgba(255, 255, 255, 0.2), 0, 1px, 2px, rgba(0, 0, 0, 0.05));
      *padding-top: 5px;
      *padding-bottom: 5px;
    }
    .btn-mini + .dropdown-toggle {
      padding-left: 5px;
      padding-right: 5px;
      *padding-top: 2px;
      *padding-bottom: 2px;
    }
    .btn-small + .dropdown-toggle {
      *padding-top: 5px;
      *padding-bottom: 4px;
    }
    .btn-large + .dropdown-toggle {
      padding-left: 12px;
      padding-right: 12px;
      *padding-top: 7px;
      *padding-bottom: 7px;
    }
  }
}

.btn .caret {
  margin-top: 8px;
  margin-left: 0;
}

.btn-mini .caret, .btn-small .caret {
  margin-top: 6px;
}

.btn-large .caret {
  margin-top: 6px;
  border-left-width: 5px;
  border-right-width: 5px;
  border-top-width: 5px;
}

.dropup .btn-large .caret {
  border-bottom-width: 5px;
}

.btn-primary .caret, .btn-warning .caret, .btn-warning2 .caret, .btn-danger .caret, .btn-info .caret, .btn-success .caret, .btn-inverse .caret {
  border-top-color: $white;
  border-bottom-color: $white;
}

.btn-group-vertical {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  > {
    .btn {
      display: block;
      float: none;
      max-width: 100%;
      @include border-radius(0px);
      + .btn {
        margin-left: 0;
        margin-top: -1px;
      }
      &:first-child {
        @include border-radius-all-val(4px, 4px, 0, 0);
      }
      &:last-child {
        @include border-radius-all-val(0, 0, 4px, 4px);
      }
    }
    .btn-large {
      &:first-child {
        @include border-radius-all-val(6px, 6px, 0, 0);
      }
      &:last-child {
        @include border-radius-all-val(0, 0, 6px, 6px);
      }
    }
  }
}

.nav {
  margin-left: 0;
  margin-bottom: 20px;
  list-style: none;
  > {
    li > a {
      display: block;
      &:hover {
        text-decoration: none;
        background-color: darken($primary-color, 5%);
        color: $white;
      }
      > img {
        max-width: none;
      }
    }
    .pull-right {
      float: right;
    }
  }
}

.nav-header {
  display: block;
  padding: 3px 15px;
  font-size: 11px;
  font-weight: bold;
  line-height: 20px;
  color: lighten($black, 60%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.nav li + .nav-header {
  margin-top: 9px;
}

.nav-list {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 0;
  > li > a, .nav-header {
    margin-left: -15px;
    margin-right: -15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  > {
    li > a {
      padding: 3px 15px;
    }
    .active > a {
      color: $white;
      text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
      background-color: $primary-color;
      &:hover {
        color: $white;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
        background-color: darken($primary-color, 10%);
      }
    }
  }
  [class^="icon-"], [class*=" icon-"] {
    margin-right: 2px;
  }
  .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: darken($white, 5%);
    border-bottom: 1px solid $white;
  }
}

.nav-tabs, .nav-pills {
  *zoom: 1;
}

.nav-tabs:before, .nav-pills:before, .nav-tabs:after, .nav-pills:after {
  display: table;
  content: "";
  line-height: 0;
}

.nav-tabs:after, .nav-pills:after {
  clear: both;
}

.nav-tabs > li, .nav-pills > li {
  float: left;
}

.nav-tabs > li > a, .nav-pills > li > a {
  padding-right: 12px;
  padding-left: 12px;
  margin-right: 2px;
  line-height: 14px;
}

.nav-tabs {
  border: 1px solid darken($white, 10%);
  @include linear-gradient(darken($white, 1%), darken($white, 5%));
  @include border-radius-all-val(2px, 2px, 0, 0);
  padding: 2px 1px 0 1px;
  > {
    li {
      margin-bottom: -1px;
      > a {
        color: lighten($black, 40%);
        padding-top: 8px;
        padding-bottom: 8px;
        line-height: 20px;
        border: 1px solid transparent;
        @include border-radius-all-val(2px, 2px, 0, 0);
        &:hover {
          border-color: darken($primary-color, 6.5%) darken($primary-color, 6.5%) darken($primary-color, 12.4%);
        }
      }
    }
    .active > a {
      color: $white;
      border: 1px solid darken($white, 10%);
      background: $primary-color;
      border-bottom-color: transparent;
      cursor: default;
      &:hover {
        color: $white;
        background-color: $primary-color;
        border: 1px solid darken($primary-color, 10%);
        border-bottom-color: transparent;
        cursor: default;
      }
    }
  }
}

.nav-pills > {
  li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    @include border-radius(5px);
  }
  .active > a {
    color: $white;
    background-color: $primary-color;
    &:hover {
      color: $white;
      background-color: $rubyRed;
    }
  }
}

.nav-stacked > li {
  float: none;
  > a {
    margin-right: 0;
  }
}

.nav-tabs.nav-stacked {
  border-bottom: 0;
  > li {
    > a {
      border: 1px solid darken($primary-color, 18%);
      @include border-radius(0px);
    }
    &:first-child > a {
      @include border-radius-all-val(4px, 4px, 0, 0);
    }
    &:last-child > a {
     @include border-radius-all-val(0, 0, 4px, 4px);
   }
   > a:hover {
    border-color: darken($primary-color, 18%);
    z-index: 2;
  }
}
}

.nav-pills.nav-stacked > li {
  > a {
    margin-bottom: 3px;
  }
  &:last-child > a {
    margin-bottom: 1px;
  }
}


.nav .dropdown-toggle {
  .caret {
    border-top-color: $primary-color;
    border-bottom-color: $primary-color;
    margin-top: 6px;
  }
  &:hover .caret {
    border-top-color: darken($primary-color, 10%);
    border-bottom-color: darken($primary-color, 10%);
  }
}

/* move down carets for tabs */

.nav-tabs .dropdown-toggle .caret {
  margin-top: 8px;
}

.nav .active .dropdown-toggle .caret {
  border-top-color: $white;
  border-bottom-color: $white;
}

.nav-tabs .active .dropdown-toggle .caret {
  border-top-color: lighten($black, 32%);
  border-bottom-color: lighten($black, 32%);
}

.nav > .dropdown.active > a:hover {
  cursor: pointer;
}

.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle {
  color: $white;
  background-color: lighten($black, 60%);
  border-color: lighten($black, 60%);
}

.nav {
  > li.dropdown.open.active > a:hover {
    color: $white;
    background-color: lighten($black, 60%);
    border-color: lighten($black, 60%);
  }
  li.dropdown.open {
    .caret, &.active .caret, a:hover .caret {
      border-top-color: $primary-color;
      border-bottom-color: $primary-color;
      opacity: 1;
    }
  }
}

.tabs-stacked .open > a:hover {
  border-color: lighten($primary-color, 60%);
}

.tabbable {
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

.tab-content {
  overflow: auto;
  border: 1px solid darken($white, 10%);
  border-top: 0;
  @include border-radius-all-val(0, 0, 4px, 4px);
  padding: 10px;
  margin-bottom: 30px;
}

.tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs {
  border-bottom: 0;
}

.tab-content > .tab-pane, .pill-content > .pill-pane {
  display: none;
}

.tab-content > .active, .pill-content > .active {
  display: block;
}

.tabs-below > .nav-tabs {
  border-top: 1px solid darken($primary-color, 10%);
  > {
    li {
      margin-top: -1px;
      margin-bottom: 0;
      > a {
        @include border-radius-all-val(0, 0, 4px, 4px);
        &:hover {
          border-bottom-color: transparent;
          border-top-color: darken($primary-color, 10%);
        }
      }
    }
    .active > a {
      border-color: transparent darken($white, 10%) darken($white, 10%) darken($white, 10%);
      &:hover {
        border-color: transparent darken($white, 10%) darken($white, 10%) darken($white, 10%);
      }
    }
  }
}

.tabs-left > .nav-tabs > li, .tabs-right > .nav-tabs > li {
  float: none;
}

.tabs-left > .nav-tabs > li > a, .tabs-right > .nav-tabs > li > a {
  min-width: 74px;
  margin-right: 0;
  margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
  float: left;
  margin-right: 0;
  border-right: 1px solid darken($white, 10%);
  > li > a {
    margin-right: -1px;
    @include border-radius(0);
    &:hover {
      border-color: darken($white, 6.5%) darken($white, 12.4%) darken($white, 6.5%) darken($white, 6.5%);
    }
  }
  .active > a {
    border-color: darken($white, 10%) transparent darken($white, 10%) $primary-color;
    *border-right-color: $white;
    border-top: 1px solid darken($white, 10%);
    &:hover {
      border-color: darken($white, 10%) transparent darken($white, 10%) $primary-color;
      *border-right-color: $white;
    }
  }
}

.tabs-left{
  .tab-content{
    border-left: 0;
    border-top: 1px solid darken($white, 10%);
  }
}

.tabs-right > .nav-tabs {
  float: right;
  margin-left: 19px;
  border-left: 1px solid darken($white, 10%);
  > li > a {
    margin-left: -1px;
    @include border-radius-all-val(0, 4px, 4px, 0);
    &:hover {
      border-color: darken($white, 6.5%) darken($white, 6.5%) darken($white, 6.5%) darken($white, 12.4%);
    }
  }
  .active > a {
    border-color: darken($white, 10%) darken($white, 10%) darken($white, 10%) transparent;
    *border-left-color: $white;
    &:hover {
      border-color: darken($white, 10%) darken($white, 10%) darken($white, 10%) transparent;
      *border-left-color: $white;
    }
  }
}

.nav > .disabled > a {
  color: lighten($black, 60%);
  &:hover {
    text-decoration: none;
    background-color: transparent;
    cursor: default;
  }
}

.navbar {
  overflow: visible;
  margin-bottom: 10px;
  *position: relative;
  *z-index: 2;
}

.navbar-inner {
  min-height: 40px;
  padding-left: 10px;
  padding-right: 10px;
  @include linear-gradient($white, darken($white, 10%));
  border: 1px solid darken($white, 15%);
  @include border-radius(4px);
  @include box-shadow(0, 1px, 4px, rgba(0, 0, 0, 0.065));
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

.navbar .container {
  width: auto;
}

.nav-collapse.collapse {
  height: auto;
  overflow: visible;
}

.navbar .brand {
  float: left;
  display: block;
  padding: 10px 20px 10px;
  margin-left: -20px;
  font-size: 20px;
  font-weight: 200;
  color: lighten($black, 44%);
  text-shadow: 0 1px 0 $white;
  &:hover {
    text-decoration: none;
  }
}

.navbar-text {
  margin-bottom: 0;
  line-height: 40px;
  color: lighten($black, 44%);
}

.navbar-link {
  color: lighten($black, 44%);
  &:hover {
    color: lighten($black, 20%);
  }
}

.navbar {
  .divider-vertical {
    height: 40px;
    margin: 0 9px;
    border-left: 1px solid darken($white, 5%);
    border-right: 1px solid $white;
  }
  .btn {
    margin-top: 5px;
  }
  .btn-group {
    margin-top: 5px;
    .btn {
      margin-top: 0;
    }
  }
  .input-prepend .btn, .input-append .btn {
    margin-top: 0;
  }
}

.navbar-form {
  margin-bottom: 0;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
  input, select, .radio, .checkbox {
    margin-top: 5px;
  }
  input, select, .btn {
    display: inline-block;
    margin-bottom: 0;
  }
  input {
    &[type="image"], &[type="checkbox"], &[type="radio"] {
      margin-top: 3px;
    }
  }
  .input-append, .input-prepend {
    margin-top: 5px;
    white-space: nowrap;
  }
  .input-append input, .input-prepend input {
    margin-top: 0;
  }
}

.navbar-search {
  position: relative;
  float: left;
  margin-top: 5px;
  margin-bottom: 0;
  .search-query {
    margin-bottom: 0;
    padding: 4px 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    @include border-radius(15px);
  }
}

.navbar-static-top {
  position: static;
  margin-bottom: 0;
  .navbar-inner {
    @include border-radius(0px);
  }
}

.navbar-fixed-top, .navbar-fixed-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
  margin-bottom: 0;
}

.navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner {
  border-width: 0 0 1px;
}

.navbar-fixed-bottom .navbar-inner {
  border-width: 1px 0 0;
}

.navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
  padding-left: 0;
  padding-right: 0;
  @include border-radius(0px);
}

.navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
  width: 940px;
}

.navbar-fixed-top {
  top: 0;
  .navbar-inner {
    @include box-shadow(0, 1px, 10px, rgba(0, 0, 0, 0.1));
  }
}

.navbar-static-top .navbar-inner {
  @include box-shadow(0, 1px, 10px, rgba(0, 0, 0, 0.1));
}

.navbar-fixed-bottom {
  bottom: 0;
  .navbar-inner {
    @include box-shadow(0, -1px, 10px, rgba(0, 0, 0, 0.1));
  }
}

.navbar {
  .nav {
    position: relative;
    left: 0;
    display: block;
    float: left;
    margin: 0 10px 0 0;
    &.pull-right {
      float: right;
      margin-right: 0;
    }
    > li {
      float: left;
      > a {
        float: none;
        padding: 10px 15px 10px;
        color: lighten($black, 44%);
        text-decoration: none;
        text-shadow: 0 1px 0 $white;
      }
    }
    .dropdown-toggle .caret {
      margin-top: 8px;
    }
    > {
      li > a {
        &:focus, &:hover {
          background-color: transparent;
          color: lighten($black, 20%);
          text-decoration: none;
        }
      }
      .active > a {
        color: lighten($black, 32%);
        text-decoration: none;
        background-color: darken($white, 8.5%);
        @include box-shadow-inset(0, 3px, 8px, rgba(0, 0, 0, 0.0125), inset);
        &:hover, &:focus {
          color: lighten($black, 32%);
          text-decoration: none;
          background-color: darken($white, 8.5%);
          @include box-shadow-inset(0, 3px, 8px, rgba(0, 0, 0, 0.0125), inset);
        }
      }
    }
  }
  .btn-navbar {
    display: none;
    float: right;
    padding: 7px 10px;
    margin-left: 5px;
    margin-right: 0;
    color: $white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: $rubyRed;
    @include linear-gradient(darken($rubyRed, 3%), darken($rubyRed, 8.5%));
    border-color: darken($white, 8.5%) darken($white, 8.5%) #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    @include box-shadow-twice(inset, 0, 1px, 0, rgba(255, 255, 255, 0.1), 0, 1px, 0, rgba(255, 255, 255, 0.075));
    &:hover, &:active, &.active, &.disabled, &[disabled] {
      color: $white;
      background-color: darken($rubyRed, 8.5%);
      *background-color: darken($rubyRed, 15%);
    }
    &:active, &.active {
      background-color: darken($rubyRed, 20%) \9;
    }
    .icon-bar {
      display: block;
      width: 18px;
      height: 2px;
      background-color: darken($white, 4.5%);
      @include border-radius(1px);
      @include box-shadow(0, 1px, 0px, rgba(0, 0, 0, 0.25));
    }
  }
}

.btn-navbar .icon-bar + .icon-bar {
  margin-top: 3px;
}

.navbar .nav > li > .dropdown-menu {
  &:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid lighten($black, 50%);
    border-bottom-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -7px;
    left: 9px;
  }
  &:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid lighten($black, 50%);
    position: absolute;
    top: -6px;
    left: 10px;
  }
}

.navbar-fixed-bottom .nav > li > .dropdown-menu {
  &:before {
    border-top: 7px solid lighten($black, 50%);
    border-top-color: rgba(0, 0, 0, 0.2);
    border-bottom: 0;
    bottom: -7px;
    top: auto;
  }
  &:after {
    border-top: 6px solid $white;
    border-bottom: 0;
    bottom: -6px;
    top: auto;
  }
}

.navbar {
  .nav li.dropdown {
    > a:hover .caret {
      border-top-color: lighten($black, 32%);
      border-bottom-color: lighten($black, 32%);
    }
    &.open > .dropdown-toggle, &.active > .dropdown-toggle {
      background-color: darken($white, 8.5%);
      color: lighten($black, 32%);
    }
    &.open {
      &.active > .dropdown-toggle {
        background-color: darken($white, 8.5%);
        color: lighten($black, 32%);
      }
      > .dropdown-toggle .caret {
        border-top-color: lighten($black, 32%);
        border-bottom-color: lighten($black, 32%);
      }
    }
    > .dropdown-toggle .caret {
      border-top-color: lighten($black, 44%);
      border-bottom-color: lighten($black, 44%);
    }
    &.active > .dropdown-toggle .caret, &.open.active > .dropdown-toggle .caret {
      border-top-color: lighten($black, 32%);
      border-bottom-color: lighten($black, 32%);
    }
  }
  .pull-right > li > .dropdown-menu, .nav > li > .dropdown-menu.pull-right {
    left: auto;
    right: 0;
  }
  .pull-right > li > .dropdown-menu:before, .nav > li > .dropdown-menu.pull-right:before {
    left: auto;
    right: 12px;
  }
  .pull-right > li > .dropdown-menu:after, .nav > li > .dropdown-menu.pull-right:after {
    left: auto;
    right: 13px;
  }
  .pull-right > li > .dropdown-menu .dropdown-menu, .nav > li > .dropdown-menu.pull-right .dropdown-menu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: -1px;
  }
}

.navbar-inverse {
  .navbar-inner {
    @include linear-gradient(lighten($black, 13%), lighten($black, 10%));
    border-color: #252525;
  }
  .brand, .nav > li > a {
    color: lighten($black, 60%);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  }
  .brand:hover, .nav > li > a:hover {
    color: $white;
  }
  .brand, .navbar-text {
    color: lighten($black, 60%);
  }
  .nav {
    > li > a {
      &:focus, &:hover {
        background-color: transparent;
        color: $white;
      }
    }
    .active > a {
      color: $white;
      background-color: lighten($black, 10%);
      &:hover, &:focus {
        color: $white;
        background-color: lighten($black, 10%);
      }
    }
  }
  .navbar-link {
    color: lighten($black, 60%);
    &:hover {
      color: $white;
    }
  }
  .divider-vertical {
    border-left-color: lighten($black, 10%);
    border-right-color: lighten($black, 13%);
  }
  .nav li.dropdown {
    &.open > .dropdown-toggle, &.active > .dropdown-toggle {
      background-color: lighten($black, 10%);
      color: $white;
    }
    &.open {
      &.active > .dropdown-toggle {
        background-color: lighten($black, 10%);
        color: $white;
      }
      > .dropdown-toggle .caret {
        border-top-color: $white;
        border-bottom-color: $white;
      }
    }
    > {
      a:hover .caret {
        border-top-color: $white;
        border-bottom-color: $white;
      }
      .dropdown-toggle .caret {
        border-top-color: lighten($black, 60%);
        border-bottom-color: lighten($black, 60%);
      }
    }
    &.active > .dropdown-toggle .caret, &.open.active > .dropdown-toggle .caret {
      border-top-color: $white;
      border-bottom-color: $white;
    }
  }
  .navbar-search .search-query {
    color: $white;
    background-color: #515151;
    border-color: lighten($black, 10%);
    @include box-shadow-twice(inset, 0, 1px, 2px, rgba(0, 0, 0, 0.1), 0, 1px, 0, rgba(255, 255, 255, 0.15));
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    &:-moz-placeholder, &:-ms-input-placeholder, &::-webkit-input-placeholder {
      color: lighten($black, 60%);
    }
    &:focus, &.focused {
      padding: 5px 15px;
      color: lighten($black, 20%);
      text-shadow: 0 1px 0 $white;
      background-color: $white;
      border: 0;
      @include box-shadow(0, 0, 3px, rgba(0, 0, 0, 0.15));
      outline: 0;
    }
  }
  .btn-navbar {
    color: $white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    @include linear-gradient(#151515, #040404);
    border-color: #040404 #040404 $black;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    &:hover, &:active, &.active, &.disabled, &[disabled] {
      color: $white;
      background-color: #040404;
      *background-color: $black;
    }
    &:active, &.active {
      background-color: $black \9;
    }
  }
}

.breadcrumb {
  padding: 8px 15px;
  margin: 0 0 20px;
  list-style: none;
  background-color: darken($white, 4.5%);
  @include border-radius(4px);
  > {
    li {
      display: inline-block;
      *display: inline;
      /* IE7 inline-block hack */
      *zoom: 1;
      text-shadow: 0 1px 0 $white;
      > .divider {
        padding: 0 5px;
        color: lighten($black, 50%);
      }
    }
    .active {
      color: lighten($black, 60%);
    }
  }
}

.pagination {
  margin: 20px 0;
  ul {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */
    *zoom: 1;
    margin-left: 0;
    margin-bottom: 0;
    @include border-radius(4px);
    @include box-shadow(0, 1px, 2px, rgba(0, 0, 0, 0.05));
    > {
      li {
        display: inline;
        > {
          a, span {
            float: left;
            padding: 4px 12px;
            line-height: 20px;
            text-decoration: none;
            background-color: $white;
            border: 1px solid darken($white, 12.4%);
            border-left-width: 0;
          }
          a:hover {
            background-color: darken($white, 4.5%);
          }
        }
      }
      .active > {
        a, span {
          background-color: darken($white, 4.5%);
        }
        a, span {
          color: lighten($black, 60%);
          cursor: default;
        }
      }
      .disabled > {
        span {
          color: lighten($black, 60%);
          background-color: transparent;
          cursor: default;
        }
        a {
          color: lighten($black, 60%);
          background-color: transparent;
          cursor: default;
          &:hover {
            color: lighten($black, 60%);
            background-color: transparent;
            cursor: default;
          }
        }
      }
      li {
        &:first-child > {
          a, span {
            border-left-width: 1px;
            @include border-radius-all-val(4px, 0, 0, 4px);
          }
        }
        &:last-child > {
          a, span {
            @include border-radius-all-val(0, 4px, 4px, 0);
          }
        }
      }
    }
  }
}

.pagination-centered {
  text-align: center;
}

.pagination-right {
  text-align: right;
}

.pagination-large ul > li {
  > {
    a, span {
      padding: 11px 19px;
      font-size: 17.5px;
    }
  }
  &:first-child > {
    a, span {
      @include border-radius-all-val(6px, 0, 0, 6px);
    }
  }
  &:last-child > {
    a, span {
      @include border-radius-all-val(0, 6px, 6px, 0);
    }
  }
}

.pagination-mini ul > li:first-child > a, .pagination-small ul > li:first-child > a, .pagination-mini ul > li:first-child > span, .pagination-small ul > li:first-child > span {
  @include border-radius-all-val(3px, 0, 0, 3px);
}

.pagination-mini ul > li:last-child > a, .pagination-small ul > li:last-child > a, .pagination-mini ul > li:last-child > span {
  @include border-radius-all-val(0, 3px, 3px, 0);
}

.pagination-small ul > li {
  &:last-child > span {
    @include border-radius-all-val(0, 3px, 3px, 0);
  }
  > {
    a, span {
      padding: 2px 10px;
      font-size: 11.9px;
    }
  }
}

.pagination-mini ul > li > {
  a, span {
    padding: 0 6px;
    font-size: 10.5px;
  }
}

.pager {
  margin: 20px 0;
  list-style: none;
  text-align: center;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
  li {
    display: inline;
    > {
      a, span {
        display: inline-block;
        padding: 5px 14px;
        background-color: $white;
        border: 1px solid darken($white, 18%);
        @include border-radius(15px);
      }
      a:hover {
        text-decoration: none;
        background-color: darken($white, 4.5%);
      }
    }
  }
  .next > {
    a, span {
      float: right;
    }
  }
  .previous > {
    a, span {
      float: left;
    }
  }
  .disabled > {
    a {
      color: lighten($black, 60%);
      background-color: $white;
      cursor: default;
      &:hover {
        color: lighten($black, 60%);
        background-color: $white;
        cursor: default;
      }
    }
    span {
      color: lighten($black, 60%);
      background-color: $white;
      cursor: default;
    }
  }
}

.thumbnails {
  margin-left: -20px;
  list-style: none;
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
}

.row-fluid .thumbnails {
  margin-left: 0;
}

.thumbnails > li {
  float: left;
  margin-bottom: 20px;
  margin-left: 20px;
}

.thumbnail {
  display: block;
  padding: 3px;
  line-height: 20px;
  border: 1px solid darken($white, 18%);
  @include border-radius(2px);
  @include box-shadow(0, 1px, 3px, rgba(0, 0, 0, 0.055));
  @include transition(all, 0.5s, ease-in-out);
}

a.thumbnail:hover {
  border-color: $primary-color;
  @include box-shadow(0, 1px, 4px, rgba(0, 105, 214, 0.25));
}

.thumbnail {
  > img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    @include border-radius(2px);
  }
  .caption {
    padding: 9px 0;
    color: lighten($black, 32%);
    text-align: center;
  }
}

.alert {
  padding: 4px 30px 4px 10px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  background: lighten($lemonYellow, 40%);
  border: 1px solid lighten($lemonYellow, 25%);
  @include border-radius(2px);
  color: darken($lemonYellow, 20%);
  h4 {
    color: darken($lemonYellow, 20%);
    margin: 0;
    margin-right: 5px;
    font-weight: 600;
    display: inline-block;
  }
  p{
    display: inline-block;
  }
  .close {
    position: relative;
    top: -2px;
    right: -21px;
    line-height: 20px;
  }
}

.alert-success {
  background: lighten($goGreen, 30%);
  border-color: lighten($goGreen, 25%);
  color: darken($goGreen, 20%);
  h4 {
    color: $goGreen;
  }
}

.alert-error, .alert-danger {
  background: lighten($rubyRed, 30%);
  border-color: lighten($rubyRed, 25%);
  color: darken($rubyRed, 20%);
  h4 {
    color: $rubyRed;
  }
}

.alert-warning {
  background: lighten($lemonYellow, 30%);
  border-color: lighten($lemonYellow, 10%);
  color: darken($lemonYellow, 20%);
  h4 {
    color: $lemonYellow;
  }
}

.alert-info {
  background: lighten($jetBlue, 40%);
  border-color: lighten($jetBlue, 30%);
  color: darken($jetBlue, 20%);
  h4 {
    color: $jetBlue;
  }
}

.alert-block {
  padding-top: 8px;
  padding-bottom: 8px;
  > {
    p, ul {
      margin-bottom: 0;
    }
  }
  p + p {
    margin-top: 5px;
  }
}

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-moz-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-ms-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

@-o-keyframes progress-bar-stripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px 0;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}


.progress {
  overflow: hidden;
  height: 8px;
  margin-bottom: 20px;
  @include linear-gradient(darken($white, 3%), darken($white, 6%));
  @include box-shadow-inset(0, 1px, 2px, rgba(0, 0, 0, 0.1), inset);
  @include border-radius(4px);
  .bar {
    width: 0%;
    height: 100%;
    color: $white;
    float: left;
    font-size: 12px;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    @include linear-gradient(#149bdf, #0480be);
    @include box-shadow-inset(0, -1px, 0px, rgba(0, 0, 0, 0.15), inset);
    @include box-sizing(border-box);
    @include transition(width, 0.6s, ease);
    + .bar {
      -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
      -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
      box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
  }
}

.progress-striped .bar {
  background-color: $jetBlue;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, lighten($jetBlue, 5%)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, lighten($jetBlue, 5%)), color-stop(0.75, lighten($jetBlue, 5%)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, lighten($jetBlue, 5%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 5%) 50%, lighten($jetBlue, 5%) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, lighten($jetBlue, 5%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 5%) 50%, lighten($jetBlue, 5%) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, lighten($jetBlue, 5%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 5%) 50%, lighten($jetBlue, 5%) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, lighten($jetBlue, 5%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 5%) 50%, lighten($jetBlue, 5%) 75%, transparent 75%, transparent);
  -webkit-background-size: 40px 40px;
  -moz-background-size: 40px 40px;
  -o-background-size: 40px 40px;
  background-size: 40px 40px;
}

.progress.active .bar {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
  -moz-animation: progress-bar-stripes 2s linear infinite;
  -ms-animation: progress-bar-stripes 2s linear infinite;
  -o-animation: progress-bar-stripes 2s linear infinite;
  animation: progress-bar-stripes 2s linear infinite;
}

.progress-danger .bar, .progress .bar-danger {
  @include linear-gradient($rubyRed, darken($rubyRed, 10%));
}

.progress-danger.progress-striped .bar, .progress-striped .bar-danger {
  background-color: $rubyRed;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, lighten($rubyRed, 10%)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, lighten($rubyRed, 10%)), color-stop(0.75, lighten($rubyRed, 10%)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, lighten($rubyRed, 10%) 25%, transparent 25%, transparent 50%, lighten($rubyRed, 10%) 50%, lighten($rubyRed, 10%) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, lighten($rubyRed, 10%) 25%, transparent 25%, transparent 50%, lighten($rubyRed, 10%) 50%, lighten($rubyRed, 10%) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, lighten($rubyRed, 10%) 25%, transparent 25%, transparent 50%, lighten($rubyRed, 10%) 50%, lighten($rubyRed, 10%) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, lighten($rubyRed, 10%) 25%, transparent 25%, transparent 50%, lighten($rubyRed, 10%) 50%, lighten($rubyRed, 10%) 75%, transparent 75%, transparent);
}

.progress-success .bar, .progress .bar-success {
  @include linear-gradient($goGreen, darken($goGreen, 10%));
}

.progress-success.progress-striped .bar, .progress-striped .bar-success {
  background-color: $goGreen;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, lighten($goGreen, 10%)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, lighten($goGreen, 10%)), color-stop(0.75, lighten($goGreen, 10%)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, lighten($goGreen, 10%) 25%, transparent 25%, transparent 50%, lighten($goGreen, 10%) 50%, lighten($goGreen, 10%) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, lighten($goGreen, 10%) 25%, transparent 25%, transparent 50%, lighten($goGreen, 10%) 50%, lighten($goGreen, 10%) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, lighten($goGreen, 10%) 25%, transparent 25%, transparent 50%, lighten($goGreen, 10%) 50%, lighten($goGreen, 10%) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, lighten($goGreen, 10%) 25%, transparent 25%, transparent 50%, lighten($goGreen, 10%) 50%, lighten($goGreen, 10%) 75%, transparent 75%, transparent);
}

.progress-info .bar, .progress .bar-info {
  @include linear-gradient($jetBlue, darken($jetBlue, 10%));
}

.progress-info.progress-striped .bar, .progress-striped .bar-info {
  background-color: $jetBlue;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, lighten($jetBlue, 10%)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, lighten($jetBlue, 10%)), color-stop(0.75, lighten($jetBlue, 10%)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, lighten($jetBlue, 10%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 10%) 50%, lighten($jetBlue, 10%) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, lighten($jetBlue, 10%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 10%) 50%, lighten($jetBlue, 10%) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, lighten($jetBlue, 10%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 10%) 50%, lighten($jetBlue, 10%) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, lighten($jetBlue, 10%) 25%, transparent 25%, transparent 50%, lighten($jetBlue, 10%) 50%, lighten($jetBlue, 10%) 75%, transparent 75%, transparent);
}

.progress-warning .bar, .progress .bar-warning {
  @include linear-gradient($nagpurOrange, darken($nagpurOrange, 10%));
}

.progress-warning.progress-striped .bar, .progress-striped .bar-warning {
  background-color: $nagpurOrange;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, lighten($nagpurOrange, 5%)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, lighten($nagpurOrange, 5%)), color-stop(0.75, lighten($nagpurOrange, 5%)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, lighten($nagpurOrange, 5%) 25%, transparent 25%, transparent 50%, lighten($nagpurOrange, 5%) 50%, lighten($nagpurOrange, 5%) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, lighten($nagpurOrange, 5%) 25%, transparent 25%, transparent 50%, lighten($nagpurOrange, 5%) 50%, lighten($nagpurOrange, 5%) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, lighten($nagpurOrange, 5%) 25%, transparent 25%, transparent 50%, lighten($nagpurOrange, 5%) 50%, lighten($nagpurOrange, 5%) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, lighten($nagpurOrange, 5%) 25%, transparent 25%, transparent 50%, lighten($nagpurOrange, 5%) 50%, lighten($nagpurOrange, 5%) 75%, transparent 75%, transparent);
}

.hero-unit {
  padding: 20px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 200;
  color: inherit;
  background-color: darken($white, 3.5%);
  @include border-radius(2px);
  h1 {
    margin-bottom: 0;
    font-size: 60px;
    line-height: 1;
    color: inherit;
    letter-spacing: -1px;
  }
  li {
    line-height: 30px;
  }
}

.media, .media-body {
  overflow: hidden;
  *overflow: visible;
  zoom: 1;
}

.media {
  margin-top: 15px;
  .media {
    margin-top: 15px;
  }
  &:first-child {
    margin-top: 0;
  }
}

.media-object {
  display: block;
}

.media-heading {
  margin: 0 0 5px;
}

.media {
  .pull-left {
    margin-right: 10px;
  }
  .pull-right {
    margin-left: 10px;
  }
}

.media-list {
  margin-left: 0;
  list-style: none;
}

.tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  visibility: visible;
  padding: 5px;
  font-size: 11px;
  opacity: 0;
  &.in {
    opacity: 0.8;
  }
  &.top {
    margin-top: -3px;
  }
  &.right {
    margin-left: 3px;
  }
  &.bottom {
    margin-top: 3px;
  }
  &.left {
    margin-left: -3px;
  }
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: $white;
  text-align: center;
  text-decoration: none;
  background-color: $black;
  @include border-radius(2px);
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip {
  &.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: $black;
  }
  &.right .tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: $black;
  }
  &.left .tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: $black;
  }
  &.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: $black;
  }
}

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1010;
  display: none;
  width: 236px;
  padding: 1px;
  text-align: left;
  background-color: $white;
  @include box-sizing(padding-box);
  border: 1px solid lighten($black, 50%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  @include border-radius(4px);
  @include box-shadow(0, 5px, 10px, rgba(0, 0, 0, 0.2));
  white-space: normal;
  &.top {
    margin-top: -10px;
  }
  &.right {
    margin-left: 10px;
  }
  &.bottom {
    margin-top: 10px;
  }
  &.left {
    margin-left: -10px;
  }
}

.popover-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  @include border-radius-all-val(5px, 5px, 0, 0);
}

.popover-content {
  padding: 9px 14px;
}

.popover {
  .arrow {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    &:after {
      position: absolute;
      display: block;
      width: 0;
      height: 0;
      border-color: transparent;
      border-style: solid;
      border-width: 10px;
      content: "";
    }
    border-width: 11px;
  }
  &.top .arrow {
    left: 50%;
    margin-left: -11px;
    border-bottom-width: 0;
    border-top-color: lighten($black, 60%);
    border-top-color: rgba(0, 0, 0, 0.25);
    bottom: -11px;
    &:after {
      bottom: 1px;
      margin-left: -10px;
      border-bottom-width: 0;
      border-top-color: $white;
    }
  }
  &.right .arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-left-width: 0;
    border-right-color: lighten($black, 60%);
    border-right-color: rgba(0, 0, 0, 0.25);
    &:after {
      left: 1px;
      bottom: -10px;
      border-left-width: 0;
      border-right-color: $white;
    }
  }
  &.bottom .arrow {
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: lighten($black, 60%);
    border-bottom-color: rgba(0, 0, 0, 0.25);
    top: -11px;
    &:after {
      top: 1px;
      margin-left: -10px;
      border-top-width: 0;
      border-bottom-color: $white;
    }
  }
  &.left .arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-right-width: 0;
    border-left-color: lighten($black, 60%);
    border-left-color: rgba(0, 0, 0, 0.25);
    &:after {
      right: 1px;
      border-right-width: 0;
      border-left-color: $white;
      bottom: -10px;
    }
  }
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: $black;
  &.fade {
    opacity: 0;
    &.in {
      opacity: 0.8;
    }
  }
  opacity: 0.8;
}

.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  background-color: $white;
  *border: 1px solid lighten($black, 60%);
  /* IE6-7 */
  @include border-radius(4px);
  @include box-shadow(0, 3px, 7px, rgba(0, 0, 0, 0.3));
  @include box-sizing(padding-box);
  outline: none;
  &.fade {
    @include transition-twice(opacity, .3s, linear, top, .3s, ease-out);
    top: -25%;
    &.in {
      top: 10%;
    }
  }
}

.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
  .close {
    margin-top: 2px;
  }
  h3 {
    margin: 0;
    line-height: 30px;
  }
}

.modal-body {
  position: relative;
  overflow-y: auto;
  max-height: 400px;
  padding: 15px;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: darken($white, 4.5%);
  border-top: 1px solid darken($white, 18%);
  @include border-radius-all-val(0, 0, 4px, 4px);
  @include box-shadow-inset(0, 1px, 0, $white, inset);
  *zoom: 1;
  &:before {
    display: table;
    content: "";
    line-height: 0;
  }
  &:after {
    display: table;
    content: "";
    line-height: 0;
    clear: both;
  }
  .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0;
  }
  .btn-group .btn + .btn {
    margin-left: -1px;
  }
  .btn-block + .btn-block {
    margin-left: 0;
  }
}

.dropup, .dropdown {
  position: relative;
}

.dropdown-toggle {
  padding: 4px 12px;
  *margin-bottom: -3px;
  &:active {
    outline: 0;
  }
}

.open .dropdown-toggle {
  outline: 0;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-top: 4px solid $black;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.dropdown .caret {
  margin-top: 8px;
  margin-left: 2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: darken($white, 4%);
  @include border-radius-all-val(0, 0, 4px, 4px);
  @include box-sizing(padding-box);
  &.pull-right {
    right: 0;
    left: auto;
  }
  .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: darken($white, 20%);
    border-bottom: 1px solid $white;
  }
  li{
    border-bottom: 1px solid darken($white, 15%);
    > a {
      -webkit-transition: none;
      -moz-transition: none;
      -o-transition: none;
      transition: none;
      display: block;
      padding: 6px 10px;
      clear: both;
      font-weight: normal;
      line-height: 20px;
      color: lighten($black, 30%);
      white-space: nowrap;
      &:hover, &:focus {
        color: $white;
      }
    }
    &:last-child{
      border-bottom: none;
      @include border-radius-all-val(0, 0, 4px, 4px);
    }
    &:hover, &:focus {
      text-decoration: none;
      color: $white;
      background: $jetBlue;
    }
  }
}

.dropdown-submenu:hover > a {
  text-decoration: none;
  color: $white;
  background: $jetBlue;
}

.dropdown-menu {
  .active > a {
    color: $white;
    text-decoration: none;
    outline: 0;
    background: $nagpurOrange;
    &:hover {
      color: $white;
      text-decoration: none;
      outline: 0;
      background: $nagpurOrange;
    }
  }
  .disabled > a {
    color: lighten($black, 60%);
    &:hover {
      color: lighten($black, 60%);
      text-decoration: none;
      background-color: transparent;
      background-image: none;
      cursor: default;
    }
  }
}

.open {
  *z-index: 1000;
  > .dropdown-menu {
    display: block;
  }
}

.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
  border-top: 0;
  border-bottom: 4px solid $black;
  content: "";
}

.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-bottom: 1px;
}

.dropdown-submenu {
  position: relative;
  > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    @include border-radius-all-val(0, 6px, 6px, 6px);
  }
  &:hover > .dropdown-menu {
    display: block;
  }
}

.dropup .dropdown-submenu > .dropdown-menu {
  top: auto;
  bottom: 0;
  margin-top: 0;
  margin-bottom: -2px;
  @include border-radius-all-val(5px, 5px, 5px, 0);
}

.dropdown-submenu {
  > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: darken($white, 20%);
    margin-top: 5px;
    margin-right: -10px;
  }
  &:hover > a:after {
    border-left-color: $white;
  }
  &.pull-left {
    float: none;
    > .dropdown-menu {
      left: -100%;
      margin-left: 10px;
      @include border-radius-all-val(2px, 0, 2px, 2px);
    }
  }
}

.dropdown .dropdown-menu .nav-header {
  padding-left: 20px;
  padding-right: 20px;
}

.typeahead {
  z-index: 1051;
  margin-top: 2px;
  @include border-radius(4px);
}

.accordion {
  margin-bottom: 20px;
}

.accordion-group {
  margin-bottom: 2px;
  border: 1px solid darken($white, 8.5%);
  @include border-radius(2px);
}

.accordion-heading {
  border-bottom: 0;
  .accordion-toggle {
    display: block;
    padding: 6px 12px;
    color: lighten($black, 30%);
    @include linear-gradient($white, darken($white, 3%));
    font-size: 13px;
    [data-icon]:before{
      margin:0 5px 0 0;
    }
  }
}

.accordion-toggle {
  cursor: pointer;
}

.accordion-inner {
  padding: 9px 15px;
  border-top: 1px solid darken($white, 8.5%);
}

.carousel {
  position: relative;
  margin-bottom: 20px;
  line-height: 1;
}

.carousel-inner {
  overflow: hidden;
  width: 100%;
  position: relative;
  > {
    .item {
      display: none;
      position: relative;
      @include transition(0.6s, ease-in-out, left);
      > img {
        display: block;
        line-height: 1;
      }
    }
    .active, .next, .prev {
      display: block;
    }
    .active {
      left: 0;
    }
    .next, .prev {
      position: absolute;
      top: 0;
      width: 100%;
    }
    .next {
      left: 100%;
    }
    .prev {
      left: -100%;
    }
    .next.left, .prev.right {
      left: 0;
    }
    .active {
      &.left {
        left: -100%;
      }
      &.right {
        left: 100%;
      }
    }
  }
}

.carousel-control {
  position: absolute;
  top: 40%;
  left: 15px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  font-size: 60px;
  font-weight: 100;
  line-height: 30px;
  color: $white;
  text-align: center;
  background: lighten($black, 13%);
  border: 3px solid $white;
  @include border-radius(23px);
  opacity: 0.5;
  &.right {
    left: auto;
    right: 15px;
  }
  &:hover {
    color: $white;
    text-decoration: none;
    opacity: 0.9;
  }
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  background: lighten($black, 20%);
  background: rgba(0, 0, 0, 0.75);
  h4, p {
    color: $white;
    line-height: 20px;
  }
  h4 {
    margin: 0 0 5px;
  }
  p {
    margin-bottom: 0;
  }
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: darken($white, 2%);
  border: 1px solid darken($white, 5%);
  @include border-radius(4px);
  @include box-shadow-inset(0, 1px, 1px, rgba(0, 0, 0, 0.05), inset);
  blockquote {
    border-color: darken($white, 18%);
    border-color: rgba(0, 0, 0, 0.15);
  }
}

.well-large {
  padding: 24px;
  @include border-radius(6px);
}

.well-small {
  padding: 9px;
  @include border-radius(3px);
}

.close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  color: $black;
  text-shadow: 0 1px 0 $white;
  opacity: 0.2;
  &:hover {
    color: $black;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.4;
  }
}

button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.invisible {
  visibility: hidden;
}

.affix {
  position: fixed;
}

.fade {
  opacity: 0;
  @include transition(opacity, 0.15s, linear);
  &.in {
    opacity: 1;
  }
}

.collapse {
  position: relative;
  height: 0;
  overflow: hidden;
  @include transition(height, 0.35s, ease);
  &.in {
    height: auto;
  }
}

.hidden {
  display: none;
  visibility: hidden;
}

.visible-phone, .visible-tablet, .hidden-desktop {
  display: none !important;
}

.visible-desktop {
  display: inherit !important;
}


// Dashboard CSS

.no-margin{
  margin: 0 !important;
}

.no-left-margin{
  margin-left: 0 !important; 
}
.no-right-margin{
  margin-right: 0 !important; 
}
.no-top-margin{
  margin-top: 0 !important; 
}
.no-bottom-margin{
  margin-bottom: 0 !important; 
}

.no-padding{
  padding: 0 !important;
}
.no-left-padding{
  padding-left: 0 !important; 
}
.no-right-padding{
  padding-right: 0 !important; 
}
.no-top-padding{
  padding-top: 0 !important; 
}
.no-bottom-padding{
  padding-bottom: 0 !important; 
}

.right-align-text{
  text-align: right !important;
}
.center-align-text{
  text-align: center !important;
}
.vertical-align-mid{
  vertical-align: middle !important;
}

ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

.jet-blue-bg{
  background: $jetBlue !important;
}

.go-green-bg{
  background: $goGreen !important;
}

.nagpur-orange-bg{
  background: $nagpurOrange !important;
}

.ruby-red-bg{
  background: $rubyRed !important;
}

.lemon-yellow-bg{
  background: $lemonYellow !important;
}

// Sign In
.signin{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 300px;
  margin-left: -190px;
  margin-top: -150px;
  h2{
    line-height: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: lighten($black, 90%);
  }
  .signin-wrapper{
    background: $white;
    border: 5px solid rgba(0, 0, 0, 0.1);
    @include border-radius(4px); 
    padding: 10px;
    .content {
      padding: 10px;
      .input{
        margin-top: 5px;
        font-weight: 400;
        background: darken($white, 2%);
        border: 1px solid darken($white, 15%);
      }
      .input:hover, select:hover {
        background: darken($white, 4%);
        color: lighten($black, 20%);
      }
    }
    .actions {
      padding: 5px 10px;
      a{
        color: darken($white, 30%);
      }
    }
  }
}

// Main Header
header{
  border-top: 3px solid $primary-color;
  @include gradient-ver-three-colors(lighten($black, 20%), lighten($black, 15%), 95%, lighten($black, 5%));
  height: 38px;
  line-height: 38px;
  vertical-align: middle;
  width: 100%;
  .logo{
    max-width: 360px;
    color: darken($white, 10%);
    padding-left: 10px;
    font-size: 18px;
    float: left;
  }
  #mini-nav {
    float: right;
    margin: 0;
    height: 38px;
    line-height: 38px;
    vertical-align: middle;
    li {    
      float: left;
      border-right: 1px solid lighten($black, 10%);
      &:last-child{
        border-right: 0;
      }
      &:first-child{
        border-left: 0;
      }
      a {
        display: block;
        padding: 0 10px;
        color: darken($white, 5%);
        cursor: pointer;
        [data-icon]:before{
          line-height: 40px;
        }
      }
    }
    .dropdown{
      .name{
        color: $rubyRed;
      }
      .caret{
        margin-top: 17px;
        border-top: 4px solid darken($white, 20%);
      }
    }
    .dropdown-toggle{
      padding: 0 12px;
    }
    .dropdown-menu{
      min-width: 160px;
      margin-right: -1px;
      border: 1px solid lighten($black, 70%);
      border-top: 0;
      li{
        float: none;
        padding: 2px 0;
        @include border-radius(0);
        border: none;
        border-bottom: 1px dotted darken($white, 15%);
        a{
          color: $black;
        }
        &:hover{
          background: darken($white, 15%);
        }
        &:last-child{
          border-bottom: 0;
        }
      }
    }
  }
}

// Main Navigation
#main-nav{
  position: relative;
  padding: 10px 0 0 0;
  ul{
    li{
      min-width: 95px;
      float: left;
      position: relative;
      margin-right: 1px;
      @include border-radius-all-val(2px, 2px, 0, 0);
      background: darken($white, 2%);
      @include transition(All, 0.2s, ease);
      ul{
        padding: 0;
        position: absolute;
        top: 38px;
        left: 0;
        width: 160px;
        display: none;
        opacity: 0;
        visibility: hidden;
        z-index: 100;
        border-top: 5px solid $primary-color;
        @include transition(all, 0.2s, ease);
        li{
          background: $primary-color;
          display: block;
          margin-right: 0;
          color: $white;
          float: none;
          border-bottom: 1px solid lighten($primary-color, 3%);
          @include border-radius(0);
          &:hover {
            background: darken($primary-color, 10%);
          }
          &:last-child{
            @include border-radius-all-val(0, 0, 2px, 2px);
            border-bottom: 0;
          }
          a{
            height: 14px;
            line-height: 14px;
          }
        }
      }
      a{
        height: 18px;
        line-height: 18px;
        display: block;
        padding: 10px;
        color: lighten($black, 25%);
        font-size: 13px;
        text-align: left;
        [data-icon]:before{
          float: left;
          margin: 0 5px 0 0;
          line-height: 18px;
        }
      }
      .selected{
        @include border-radius-all-val(2px, 2px, 0, 0);
        background: $primary-color;
        color: $white;
      }
      &:last-child{
        margin-right: 0;
      }
      &:hover{
        background: $primary-color;
        color: $white;
        a{
          color: $white;
        }
        ul {
          display: block;
          opacity: 1;
          visibility: visible;
        }
      } 
    }
  }
}

// Metro navigation
.metro-nav{
  .metro-nav-block {
    display: block;
    float: left;
    height: 70px;
    width: 17%;
    cursor: pointer;
    text-decoration: none;
    color: $white;
    overflow: hidden;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 20px;
    font-smooth: always;
    margin: 0 1% 1% 0;
    overflow: hidden;
    z-index: 1;
    @include border-radius(4px);
    [data-icon]::before{
      font-size: 32px;
      color: $white;
      line-height: 36px;
    }
    a {
      height: 100%;
      vertical-align: top;
      padding: 5px 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      position: absolute;
      font-weight: 400;
      color: $white;
      font-size: 16px;
      font-smooth: always;
      line-height: 16px;
      width: 100%;
    }
    &.double {
      width: 27%;
    }
    &:hover {
      opacity: 0.8;
    }
    .info{
      position: absolute;
      top: 30px;
      right: 10px;
      font-size: 24px;
    }
    .brand, .tile-status {
      position: absolute;
      bottom: -10px;
      left: 10px;
      min-height: 30px;
      background-color: transparent;
      *zoom: 1;
      font-size: 14px;
    }
    .tile-status{
      right: 10px;
    }
  }
  * {
    @include box-sizing(border-box);
    &:after, &:before {
      @include box-sizing(border-box);
    }
  }
  .nav-block-orange{
    background: $nagpurOrange;
  }
  .nav-block-green{
    background: $goGreen;
  }
  .nav-block-yellow{
    background: $lemonYellow;
  }
  .nav-block-blue{
    background: $jetBlue;
  }
  .nav-block-red{
    background: $rubyRed;
  }
  .nav-block-primary{
    background: lighten($primary-color, 2%);
  }
  .nav-block-primary1{
    background: lighten($primary-color, 7%);
  }
  .nav-block-primary2{
    background: lighten($primary-color, 12%);
  }
  .nav-block-primary3{
    background: lighten($primary-color, 19%);
  }
}

// Left sidebar
.left-sidebar{
  position: absolute;
  left: 10px;
  top: 40px;
  width: 180px;
  .user-details{
    height: 42px;
    position: relative;
    margin-top: 10px;
    margin-bottom: 3px;
    .user-img{
      float: left;
      img{
        width: 32px;
        height: 32px;
        background: primary-color;
        border: 2px solid $primary-color;
        @include border-radius (2px);
      }
    }
    .welcome-text{
      text-align: right;
      color: $primary-color;
      font-size: 12px;
      padding-top: 5px;
      .name{
        color: lighten($primary-color, 50%);
        font-weight: bold;
      }
    }
  }
  .content{
    background: darken($primary-color, 2%);
    @include border-radius (2px);
    min-height: 220px;
    .accordion{
      .accordion-group{
        margin-bottom: 0px;
        border: 0;
        border-bottom: 1px solid lighten($primary-color, 5%);
        .accordion-heading{
          a{
            background: transparent !important;
            font-weight: 600;
            font-size: 12px;
            position: relative;
            color: $white;
            .info-label{
              position: absolute;
              top: 7px;
              right: 4px;
            }
          }
          .accordion-toggle {
            padding: 7px 8px;
          }
        }
        .accordion-body{
          .accordion-inner{
            border-top: 1px solid lighten($primary-color, 5%);
            background: darken($white, 5%);
            color: lighten($black, 20%);
            font-size: 11px;
            padding: 6px 8px;
          }
        }
        &:last-child{
          border-bottom: 0;
        }
      }
    }
    .btn{
      margin: 0 10px;
      display: block;
    }
  }
  //Online users
  .online-users{
    margin: 0px;
    ul li a{
      position: relative;
      display: block;
      padding: 2px 0;
      img{
        margin-right: 3px;
        width: 16px;
        height: 16px;
      }
      .user-name{
        display: inline-block;
      }
      .user-status, .user-status.online, .user-status.busy, .user-status.away {
        position: absolute;
        top: 6px;
        right: -5px;
        width: 8px;
        height: 8px;
        @include border-radius(100%);
        background: lighten($black, 80%);
        @include box-shadow-inset(0, 0, 4px, lighten($black, 60%), inset);
        &.online{
          background: $goGreen;
        }
        &.busy{
          background: $rubyRed;
        }
        &.away{
          background: $lemonYellow;
        }
      }
    }
  }

  //Signups, Clients, Chats
  .signups, .clients, .chats, .inbox, .payments, .staff, .contents{
    li{
      display: block;
      border-bottom: 1px solid darken($white, 10%);
      padding: 4px 0;
      cursor: pointer;
      .user img{
        width: 24px;
        height: 24px;
        border: 1px solid darken($white, 20%);
        @include border-radius (50%);
      }
      .info{
        margin-left: 34px;
        color: $primary-color;
        h6{
          margin: 0;
          padding: 0;
          font-weight: 500;
          line-height: 100%;
          font-size: 12px;
          margin-bottom: 2px;
        }
        p{
          margin: 0;
          padding: 0;
          color: lighten($black, 50%);
          font-size: 11px;
          line-height: 16px;
        }
        small{
          color: lighten($black, 40%);
          font-size: 11px;
        }
      }
      a{
        color: $primary-color;
        font-weight: 500;
        span{
          color: lighten($black, 50%);
          font-size: 11px;
          font-weight: 200;
        }
      }
      &:last-child{
        border-bottom: 0;
      }
    }
  }

  // Charts
  .easy-pie-chart {
    margin-top: 30px;
    position: relative;
    text-align: center;
    color: lighten($black, 80%);
    font-size: 18px;
    canvas {
      position: absolute;
      top: 0;
      left: 0;
    }
    .name{
      margin-top: 10px;
      font-size: 14px;
      text-transform: uppercase;
    }
  }
}

// Dashboard
.dashboard-wrapper{
  position: relative;
  top: 0px;
  margin-bottom: 10px;
  margin-left: 190px;
  .main-container{
    min-height: 570px;
    border-top: 5px solid $primary-color;
    background: $white;
    @include border-radius-all-val(0, 3px, 3px, 3px);
    padding: 10px;
    .page-header{
      margin: 0;
      border-bottom: 0;
      padding: 10px 0 20px 0;
      h2{
        padding: 0;
        font-weight: 100;
        margin: 0;
        color: lighten($black, 30%);
        float: left;
      }
      ul.stats{
        li{
          float: left;
          padding: 5px 10px;
          height: 34px;
          margin-left: 15px;
          @include border-radius(2px);
          [data-icon]:before{
            float: left;
            margin: 7px 0 0 0;
            line-height: 18px;
            font-size: 26px;
            color: $white;
          }
          .details{
            margin-left: 50px;
            span.big{
              font-size: 16px;
            }
            span{
              color: $white;
              display: block;
              font-size: 12px;
            }
          }
        }
        .color-first{
          background: lighten($goGreen, 2%);
        }
        .color-second{
          background: lighten($lemonYellow, 2%);
        }
      }
    }

    .widget, .widget-border{
      background: $white;
      border: 1px solid darken($white, 12%);
      clear: both;
      margin-top: 0px;
      margin-bottom: 30px;
      @include border-radius(2px);
      .widget-header {
        @include linear-gradient($white, darken($white, 5%));
        @include border-radius-all-val(3px, 3px, 0, 0);
        border-bottom: 1px solid darken($white, 15%);
        height: 30px;
        line-height: 30px;
        padding: 5px 10px;
        .title {
          color: lighten($black, 20%);
          float: left;
          font-weight: 600;
          font-size: 14px;
          .attribution, .mini-title{
            font-size: 11px;
            padding-left: 4px;
            color: lighten($black, 70%);
            font-weight: normal;
          }
          [data-icon]:before{
            color: $black;
            float: left;
            margin: 6px 6px 0 0;
          }
        }
        div.tools {
          padding: 0;
          float: right;
          margin: 0;
          > a {
            display: inline-block;
            margin-left: 9px;
            color: lighten($black, 20%);
            margin-top: 3px;
            &:hover {
              text-decoration: none;
              opacity: .6;
            }
          }
        }
      }
      .widget-body {
        padding: 10px;
      }
    }
    .widget-border{
      &:hover {
        cursor:pointer;
        border-color: lighten($jetBlue, 20%);
        @include transition(all, 0.3s, ease);
      }
    }
    .less-bottom-margin{
      margin-bottom: 10px;
    }
  }
}

// Stats overview
ul.stats-overview {
  border-bottom: 1px solid darken($white, 9%);
  padding-bottom: 10px;
  margin-bottom: 10px;
  li{
    display: inline-block;
    text-align: center;
    padding: 0 15px;
    font-size: 14px;
    border-right: 1px solid darken($white, 9%);
    &:last-child{
      border-right: 0;
    }
    .name{
      font-size: 12px;
    }
    .value {
      font-size: 14px;
      font-weight: bold;
      display: block;
    }
    &:first-child{
      padding-left: 0;
    }
  }
}

// Tabbed Widget
.tab-widget{
  .header{
    border-bottom: 1px solid darken($white, 10%);
    padding-bottom: 4px;
    color: $primary-color;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
  }
  .signups, .clients, .chats{
    li{
      display: block;
      border-bottom: 1px solid darken($white, 10%);
      padding: 8px 0;
      cursor: pointer;
      .user img{
        width: 42px;
        height: 42px;
        padding: 2px;
        border: 1px solid darken($white, 10%);
      }
      .info{
        margin-left: 58px;
        color: $primary-color;
        h6{
          margin: 0;
          padding: 0;
          line-height: 100%;
          margin-bottom: 4px;
        }
        p{
          margin: 0;
          padding: 0;
          color: $black;
        }
        small{
          color: lighten($black, 40%);
        }
      }
      &:first-child{
        padding-top: 0;
      }
      &:last-child{
        border-bottom: 0;
        padding-bottom: 0;
      }
    }
  }
}


//Wizard
.bwizard {
  position: relative;
  .well {
    margin: 3px 0;
  }
}

.bwizard-steps {
  margin: 0;
  padding: 0;
  display: inline-block;
  background: $white;
  li {
    display: inline-block;
    position: relative;
    margin-right: 5px;
    line-height: 18px;
    list-style: none;
    padding: 12px 17px 10px 30px;
    background: darken($white, 10%);
    zoom: 1;
    *display: inline;
    *padding-left: 17px;
    &:first-child {
      @include border-radius-all-val(4px, 0, 0, 4px);
      padding-left: 12px;
      &:before {
        border: none;
      }
    }
    &:last-child {
      @include border-radius-all-val(0, 4px, 4px, 0);
      margin-right: 0;
      &:after {
        border: none;
      }
    }
    &:before {
      position: absolute;
      left: 0;
      top: 0;
      height: 0;
      width: 0;
      border-bottom: 20px inset transparent;
      border-left: 20px solid $white;;
      border-top: 20px inset transparent;
      content: "";
    }
    &:after {
      position: absolute;
      right: -20px;
      top: 0;
      height: 0;
      width: 0;
      border-bottom: 20px inset transparent;
      border-left: 20px solid darken($white, 10%);
      border-top: 20px inset transparent;
      content: "";
      z-index: 2;
    }
  }
  .label {
    margin: 0 5px 0 0;
    padding: 1px 5px 2px;
    position: relative;
    top: -1px;
  }
  .active {
    color: $white;
    background: $primary-color;
    &:after {
      border-left-color: $primary-color;
    }
  }
  a {
    color: lighten($black, 30%);
  }
  .active a {
    color: $white;
    cursor: default;
  }
  a:hover {
    text-decoration: none;
  }
  &.clickable li {
    &:not(.active) {
      cursor: pointer;
    }
    &:hover:not(.active) {
      background: darken($white, 20%);
      a {
        color: lighten($black, 30%);
      }
      &:after {
        border-left-color: darken($white, 20%);
      }
    }
  }
}

//Current stats
.spark-current-stats{
  li{
    padding: 2px 0;
    height: 32px;
    border-bottom: 1px solid darken($white, 10%);
    line-height: 32px;
    margin-bottom: 4px;
    .stats-graph{
      float: left;
      margin-top: 4px;
    }
    h4.name{
      margin: 0;
      padding: 0;
      float: right;
      font-weight: 500;
      font-size: 12px;
      .value{
        font-size: 16px;
        padding-left: 10px;
        color: $rubyRed;
      }
    }
  }
}

// Animated Progress bar
.animated-status-bar{
  .progress {
    background: darken($white, 10%);
    @include border-radius(6px);
    @include box-shadow-inset(0, 0, 35px, rgba(0, 0, 0, 0.25), inset);
  }
  .progress-striped {
    height: 16px;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
  }
  #five:checked ~ .progress > .progress-striped {
    width: 5%;
    background-color: $rubyRed;
  }
  #twentyfive:checked ~ .progress > .progress-striped {
    width: 25%;
    background-color: $nagpurOrange;
  }
  #fifty:checked ~ .progress > .progress-striped {
    width: 50%;
    background-color: $lemonYellow;
  }
  #seventyfive:checked ~ .progress > .progress-striped {
    width: 75%;
    background-color: $jetBlue;
  }
  #onehundred:checked ~ .progress > .progress-striped {
    width: 100%;
    background-color: $goGreen;
  }
  .radio {
    display: none;
  }
  .label {
    background: $primary-color;
    display: inline-block;
    margin: 0 5px 20px;
    padding: 3px 8px;
    color: $white;
    text-shadow: 0 1px black;
    border-radius: 3px;
    cursor: pointer;
  }
  .radio:checked + .label {
    color: $white;
    background: $rubyRed;
  }
}

// Wizard buttons
.next-prev-btn-container{
  margin-left: 10px;
  .button {
    display: inline-block;
    position: relative;
    color: $white;
    text-shadow: 0 1px 0 rgba(000, 000, 000, 0.7);
    text-align: center;
    padding: 4px 17px;
    font-size: 12px;
    font-weight: bold;
    @include border-radius(4px);
    border: 1px solid darken($nagpurOrange, 10%);
    background: $nagpurOrange;
    &:hover {
      color: darken($white, 15%);
      text-shadow: 0 1px 0 rgba(000, 000, 000, 0.5);
    }
    &.prev {
      border-left: none;
      &:after {
        background: $nagpurOrange;
        content: '';
        position: absolute;
        height: 50%;
        width: 15px;
        border-left: 1px solid darken($nagpurOrange, 10%);
        left: -5px;
        top: 1px;
        @include transform(skew(-40deg, 0));
      }
      &:before {
        background: $nagpurOrange;
        content: '';
        position: absolute;
        height: 48%;
        width: 15px;
        border-left: 1px solid darken($nagpurOrange, 10%);
        bottom: 1px;
        left: -5px;
        @include transform(skew(40deg, 0));
      }
    }
    &.next {
      border-right: none;
      &:after {
        background: $nagpurOrange;
        content: '';
        position: absolute;
        height: 48%;
        width: 15px;
        border-right: 1px solid darken($nagpurOrange, 10%);
        right: -5px;
        bottom: 1px;
        @include transform(skew(-40deg, 0));
      }
      &:before {
        background: $nagpurOrange;
        content: '';
        position: absolute;
        height: 50%;
        width: 15px;
        border-right: 1px solid darken($nagpurOrange, 10%);
        top: 1px;
        right: -5px;
        @include transform(skew(40deg, 0));
      }
    }
  }
}

// Horizontal Rule
.hr-stylish {
  padding: 0;
  border: none;
  line-height: 0;
  border-top: medium double lighten($black, 70%);
  color: lighten($black, 70%);
  text-align: center;
  &:after {
    content: "";
    display: inline-block;
    position: relative;
    top: -12px;
    font-size: 14px;
    padding: 0 10px;
    background: darken($white, 3%);
  }
}

// Breadcrumb
.breadcrumb-beauty {
  list-style: none;
  overflow: hidden;
  font-size: 12px;
  background: darken($white, 2%);
  @include border-radius(2px);
  border: 1px solid darken($white, 7%);
  li {
    float: left;
    a {
      background: darken($white, 10%);
      color: $black;
      padding: 6px 0 6px 42px;
      position: relative;
      display: block;
      float: left;
      &:after{
        content: " ";
        display: block;
        width: 0;
        height: 0;
        border-top: 50px solid transparent;
        border-bottom: 50px solid transparent;
        border-left: 30px solid darken($white, 10%);
        position: absolute;
        top: 50%;
        margin-top: -50px;
        left: 100%;
        z-index: 2;
      }
    }
    &:first-child a {
      padding-left: 10px;
      @include border-radius-all-val(2px, 0, 0,  2px);
      color: $black;
      font-size: 16px;
    }
    &:nth-child(2) a {
      background: darken($white, 15%);
      &:after {
        border-left-color: darken($white, 15%);
      }
    }
    &:nth-child(3) a {
      background: darken($white, 18%);
      &:after {
        border-left-color: darken($white, 18%);
      }
    }
    &:nth-child(4) a {
      background: darken($white, 21%);
      &:after {
        border-left-color: darken($white, 21%);
      }
    }
    &:last-child a {
      background: transparent !important;
      color: $black;
      pointer-events: none;
      cursor: default;
      &:after {
        border-left-color: transparent;
      }
    }
  }
}


//Pricing Plans
.pricing-table{
  .plan {
    @include border-radius (3px);
    margin-bottom: 5px;
    text-align: center;
    border: 1px solid lighten($black, 80%);
    @include linear-gradient($white, darken($white, 10%));
    @include box-shadow (0, 0, 7px, lighten($primary-color, 20%));
    padding: 15px;
    color: lighten($black, 50%);
    &:hover {
      background-color: $white;
      @include box-shadow (0, 0, 5px, lighten($primary-color, 10%));
    }
    .plan-name span {
      font-size: 20px;
    }
    ul {
      list-style: none;
      margin: 0;
      @include border-radius-all-val(0, 0, 3px, 3px);
      li.plan-feature {
        padding: 10px;
      }
    }
  }
  .plan-bronze, .plan-silver, .plan-gold {
    padding: 20px;
    color: #fff;
    background-color: lighten($goGreen, 10%);
    @include border-radius(3px);
  }
  .plan-gold {
    background-color: $lemonYellow;
  }
  .plan-bronze {
    background-color: lighten($nagpurOrange, 10%);
  }
}


// Metro nav
.metro-nav{
  .metro-nav-block {
    display: block;
    float: left;
    height: 60px;
    width: 17%;
    cursor: pointer;
    text-decoration: none;
    color: $white;
    overflow: hidden;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 20px;
    font-smooth: always;
    margin: .5%;
    overflow: hidden;
    z-index: 1;
    @include border-radius(2px);
    [data-icon]::before{
      font-size: 32px;
      color: $white;
      line-height: 36px;
    }
    a {
      height: 100%;
      vertical-align: top;
      padding: 5px 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      position: absolute;
      font-weight: 400;
      color: $white;
      font-size: 16px;
      font-smooth: always;
      line-height: 16px;
      width: 100%;
    }
    &.double {
      width: 27%;
    }
    &:hover {
      opacity: 0.8;
    }
    .info{
      position: absolute;
      top: 25px;
      right: 10px;
      font-size: 24px;
    }
    .brand, .tile-status {
      position: absolute;
      bottom: -10px;
      left: 10px;
      min-height: 30px;
      background-color: transparent;
      *zoom: 1;
      font-size: 14px;
    }
    .tile-status{
      right: 10px;
    }
  }
  * {
    @include box-sizing(border-box);
    &:after, &:before {
      @include box-sizing(border-box);
    }
  }
  .nav-block-orange{
    background: $nagpurOrange;
  }
  .nav-block-green{
    background: $goGreen;
  }
  .nav-block-yellow{
    background: $lemonYellow;
  }
  .nav-block-blue{
    background: $jetBlue;
  }
  .nav-block-red{
    background: $rubyRed;
  }
}

//Google Visualization chatrts
.chart-labels{
  background: darken($white, 2%);
  @include border-radius(2px);
  border: 1px solid darken($white, 7%);
  margin-top: 10px;
  height: 32px;
  line-height: 32px;
  .label-block{
    margin: 0 10px 0 4px;
    float: left;
    span.label-type{
      width: 12px;
      height: 5px;
      display: inline-block;
      &.go-green{
        background: $goGreen !important;
      }
      &.jet-blue{
        background: $jetBlue !important;
      }
      &.ruby-red{
        background: $rubyRed !important;
      }
      &.lemon-yellow{
        background: $lemonYellow !important;
      }
      &.nagpur-orange{
        background: $nagpurOrange !important;
      }
    }
    span.label-name{
      font-size: 11px;
      padding-left: 4px;
    }
  }
}

//Gallery
#gallery{
  .thumbnail-img{
    padding: 0;
    img{
      width: 100%;
    }
  }
}
.modal-gallery {
  width: auto;
  max-height: none;
  outline: none;
  &.fade.in {
    top: 50%;
  }
  .modal-body {
    max-height: none;
  }
  .modal-title {
    display: inline-block;
    max-height: 54px;
    overflow: hidden;
  }
  .modal-image {
    position: relative;
    margin: auto;
    min-width: 128px;
    min-height: 128px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    &:hover {
      &:before, &:after {
        content: '\2039';
        position: absolute;
        top: 50%;
        left: 15px;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        font-size: 60px;
        font-weight: 100;
        line-height: 30px;
        color: $white;
        text-align: center;
        background: #222222;
        border: 3px solid $white;
        @include border-radius (23px);
        opacity: 0.5;
        z-index: 1;
      }
      &:after {
        content: '\203A';
        left: auto;
        right: 15px;
      }
    }
  }
}

.modal-single .modal-image:hover {
  &:before, &:after {
    display: none;
  }
}

.modal-loading .modal-image {
  background: url(../img/loading-orange.gif) center no-repeat;
}

.modal-gallery {
  &.fade .modal-image {
    -webkit-transition: width 0.15s ease, height 0.15s ease;
    -moz-transition: width 0.15s ease, height 0.15s ease;
    -ms-transition: width 0.15s ease, height 0.15s ease;
    -o-transition: width 0.15s ease, height 0.15s ease;
    transition: width 0.15s ease, height 0.15s ease;
  }
  .modal-image * {
    position: absolute;
    top: 0;
    opacity: 0;
    border-radius: 4px;
  }
  &.fade .modal-image * {
    -webkit-transition: opacity 0.5s linear;
    -moz-transition: opacity 0.5s linear;
    -ms-transition: opacity 0.5s linear;
    -o-transition: opacity 0.5s linear;
    transition: opacity 0.5s linear;
  }
  .modal-image *.in {
    opacity: 1;
  }
}

.modal-fullscreen {
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  &.modal-loading {
    border: 0;
    box-shadow: none;
  }
  .modal-body {
    padding: 0;
  }
  .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
    z-index: 2000;
  }
  .modal-footer {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
    z-index: 2000;
    top: auto;
    bottom: 0;
  }
  .close, .modal-title {
    color: $white;
    text-shadow: 0 0 2px rgba(33, 33, 33, 0.8);
  }
  .modal-header:hover, .modal-footer:hover {
    opacity: 1;
  }
}

//Timeline
.timeline {
  position: relative;
  ul li {
    margin-bottom: 15px;
    .user, .user-success, .user-error, .user-warning {
      width: 32px;
      height: 32px;
      padding: 2px;
      float: left;
      @include border-radius(100%);
      border: 2px solid $primary-color;
      background: lighten($primary-color, 40%);
      &.user-success{
        border: 2px solid $goGreen;
        background: lighten($goGreen, 40%);
      }
      &.user-error{
        border: 2px solid $rubyRed;
        background: lighten($rubyRed, 40%);
      }
      &.user-warning{
        border: 2px solid $lemonYellow;
        background: lighten($lemonYellow, 40%);
      }
      img{
        @include border-radius(100%);
        width: 32px;
        height: 32px;
      }
    }
    .about-task, .info-task, .success-task, .error-task, .warning-task {
      background: darken($white, 2%);
      border: 1px solid darken($white, 7%);
      @include border-radius (2px);
      padding: 10px;
      margin: 0;
      min-height: 60px;
      position: relative;
      margin-left: 60px;
      .header{
        border-bottom: 1px solid darken($white, 10%);
        padding: 0;
        line-height: 30px;
        height: 30px;
        color: $black;
        font-size: 16px;
        @include border-radius (2px);
        margin-bottom: 10px;
      }
      small{
        float: right;
        font-size: 11px;
      }
      &.info-task{
        border: 1px solid lighten($primary-color, 25%);
        background: lighten($primary-color, 44%);
        .header{
          border-bottom: 1px solid lighten($primary-color, 30%);
          color: $primary-color;
        }
        small{
          color: $primary-color;
        }
      }
      &.success-task{
        border: 1px solid lighten($goGreen, 25%);
        background: lighten($goGreen, 38%);
        .header{
          border-bottom: 1px solid lighten($goGreen, 30%);
          color: $goGreen;
        }
        small{
          color: $goGreen;
        }
      }
      &.error-task{
        border: 1px solid lighten($rubyRed, 25%);
        background: lighten($rubyRed, 38%);
        .header{
          border-bottom: 1px solid lighten($rubyRed, 30%);
          color: $rubyRed;
        }
        small{
          color: $rubyRed;
        }
      }
      &.warning-task{
        border: 1px solid lighten($lemonYellow, 25%);
        background: lighten($lemonYellow, 33%);
        .header{
          border-bottom: 1px solid lighten($lemonYellow, 30%);
          color: darken($lemonYellow, 20%);
        }
        small{
          color: darken($lemonYellow, 20%);
        }
      }
      .arrow, .info-arrow, .success-arrow, .error-arrow, .warning-arrow {
        border-right: 9px solid darken($white, 7%);
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        position: absolute;
        left: -9px;
        top: 13px;
        z-index: 10;
        width: 0px;
        height: 0px;
      }
      .info-arrow{
        border-right: 9px solid lighten($primary-color, 25%);
      }
      .success-arrow{
        border-right: 9px solid lighten($goGreen, 25%);
      }
      .error-arrow{
        border-right: 9px solid lighten($rubyRed, 25%);
      }
      .warning-arrow{
        border-right: 9px solid lighten($lemonYellow, 25%);
      }
    }
  }
}


// Current Statistics
.current-stats{
  position: relative;
  line-height: 100%;
  h4, p{
    font-weight: 600;
    margin: 0;
    margin-left: 55px;
  }
  p{
    color: lighten($black, 40%);
    font-weight: normal;
  }
  .type{
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 10px 0 0;
    border-right: 1px solid darken($white, 10%);
    [data-icon]:before{
      font-size: 32px;
    }
  }
}

// Fancy Tooltips
.fancy-tooltip-wrapper, .fancy-tooltip-wrapper1 {
  padding: 0;
  width: 240px;
  height: 40px;
  margin: 20px auto 0px auto;
  li {
    float: left;
    a {
      display: block;
      width: 44px;
      height: 40px;
      margin: 0 2px;
      outline: none;
      background: transparent url(../img/social_icons.png) no-repeat top left;
      text-indent: -9000px;
      position: relative;
    }
    .tooltip-facebook {
      background-position: 0px 0px;
    }
    .tooltip-linkedin {
      background-position: -44px 0px;
    }
    .tooltip-gplus {
      background-position: -86px 0px;
    }
    .tooltip-twitter {
      background-position: -130px 0px;
    }
    .tooltip-dribbble {
      background-position: -174px 0px;
    }
    a {
      span {
        width: 100px;
        height: auto;
        line-height: 20px;
        padding: 10px;
        left: 50%;
        margin-left: -62px;
        font-weight: 400;
        font-style: italic;
        font-size: 14px;
        color: $white;
        text-align: center;
        border: 2px solid darken($jetBlue, 15%);
        background: $jetBlue;
        text-indent: 0px;
        border-radius: 5px;
        position: absolute;
        pointer-events: none;
        bottom: 100px;
        opacity: 0;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        &:before {
          content: '';
          position: absolute;
          bottom: -15px;
          left: 50%;
          margin-left: -9px;
          width: 0;
          height: 0;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-top: 10px solid $jetBlue;
        }
        &:after {
          content: '';
          position: absolute;
          bottom: -15px;
          left: 50%;
          margin-left: -9px;
          width: 0;
          height: 0;
          border-left: 10px solid transparent;
          border-right: 10px solid transparent;
          border-top: 10px solid darken($jetBlue, 15%);
          bottom: -14px;
          margin-left: -10px;
          border-top: 10px solid darken($jetBlue, 15%);
        }
      }
      &:hover span {
        opacity: 0.9;
        bottom: 40px;
      }
    }
  }
}

.fancy-tooltip-wrapper1 li a {
  span {
    width: 80px;
    height: 80px;
    line-height: 80px;
    padding: 10px;
    left: 50%;
    margin-left: -52px;
    text-align: center;
    text-indent: 0px;
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    bottom: -40px;
    opacity: 0;
    @include transform(scale(0.2));
  }
  &:hover span {
    @include transform(scale(1));
  }
}

// Date Range Picker
.daterangepicker {
  position: absolute;
  background: darken($white, 1%);
  top: 100px;
  left: 20px;
  padding: 4px;
  margin-top: 1px;
  @include box-shadow-inset(0, 0, 2px, darken($white, 20%), inset);
  @include border-radius(4px);
  &.dropdown-menu {
    max-width: none;
  }
  &.opensleft {
    .ranges, .calendar {
      float: left;
      margin: 4px;
    }
  }
  &.opensright {
    .ranges, .calendar {
      float: right;
      margin: 4px;
    }
  }
  .ranges {
    width: 160px;
    text-align: left;
    .range_inputs > div {
      float: left;
      &:nth-child(2) {
        padding-left: 11px;
      }
    }
  }
  .calendar {
    display: none;
    max-width: 230px;
    th, td {
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      white-space: nowrap;
      text-align: center;
    }
  }
  .ranges {
    label {
      color: lighten($black, 20%);
      font-size: 11px;
      margin-bottom: 2px;
      text-transform: uppercase;
      text-shadow: 1px 1px 0 $white;
    }
    input {
      font-size: 11px;
    }
    ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    li {
      font-size: 13px;
      background: darken($white, 3%);
      border: 1px solid darken($white, 5%);
      color: $black;
      padding: 3px 12px;
      margin-bottom: 8px;
      border-radius: 2px;
      cursor: pointer;
      &.active, &:hover {
        background: $primary-color;
        border: 1px solid $primary-color;
        color: $white;
      }
    }
  }
  .calendar {
    border: 1px solid darken($white, 5%);
    padding: 4px;
    border-radius: 4px;
    background: $white;
  }
  &.opensleft {
    &:before {
      position: absolute;
      top: -7px;
      right: 9px;
      display: inline-block;
      border-right: 7px solid transparent;
      border-bottom: 7px solid lighten($black, 50%);
      border-left: 7px solid transparent;
      border-bottom-color: rgba(0, 0, 0, 0.2);
      content: '';
    }
    &:after {
      position: absolute;
      top: -6px;
      right: 10px;
      display: inline-block;
      border-right: 6px solid transparent;
      border-bottom: 6px solid $white;
      border-left: 6px solid transparent;
      content: '';
    }
  }
  &.opensright {
    &:before {
      position: absolute;
      top: -7px;
      left: 9px;
      display: inline-block;
      border-right: 7px solid transparent;
      border-bottom: 7px solid lighten($black, 50%);
      border-left: 7px solid transparent;
      border-bottom-color: rgba(0, 0, 0, 0.2);
      content: '';
    }
    &:after {
      position: absolute;
      top: -6px;
      left: 10px;
      display: inline-block;
      border-right: 6px solid transparent;
      border-bottom: 6px solid $white;
      border-left: 6px solid transparent;
      content: '';
    }
  }
  table {
    width: 100%;
    margin: 0;
  }
  td, th {
    text-align: center;
    width: 20px;
    height: 20px;
    @include border-radius(4px);
    cursor: pointer;
    white-space: nowrap;
  }
  td {
    &.off, &.disabled {
      color: #999;
    }
    &.available:hover {
      background: #eee;
    }
  }
  th.available:hover {
    background: #eee;
  }
  td {
    &.in-range {
      background: #ebf4f8;
      @include border-radius(0px);
    }
    &.active {
      color: $white;
      text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
      @include linear-gradient($jetBlue, darken($jetBlue, 10%));
      border-color: $jetBlue $jetBlue darken($jetBlue, 10%);
      border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
      &:hover, &:active, &.active, &.disabled, &[disabled] {
        color: $white;
        background-color: darken($jetBlue, 10%);
        *background-color: darken($jetBlue, 10%);
      }
      &:active, &.active {
        background-color: $jetBlue \9;
      }
    }
    &.week {
      font-size: 80%;
      color: lighten($black, 50%);
    }
  }
  th.week {
    font-size: 80%;
    color: lighten($black, 50%);
  }
}

// Scrollbar
#scrollbar, #scrollbar-one, #scrollbar-two, #scrollbar-three{
  width: 100%;
  clear: both;
  margin: 0;
  .viewport {
    width: 98%;
    height: 150px;
    overflow: hidden;
    position: relative;
  }
  .overview {
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .thumb {
    .end {
      background-color: $nagpurOrange;
    }
    background-color: $nagpurOrange;
  }
  .scrollbar {
    position: relative;
    float: right;
    width: 3px;
  }
  .track {
    background-color: darken($white, 20%);
    height: 100%;
    width: 3px;
    position: relative;
    padding: 0;
  }
  .thumb {
    height: 20px;
    width: 3px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    .end {
      overflow: hidden;
      height: 5px;
      width: 13px;
    }
  }
  .disable {
    display: none;
  }
}

#scrollbar-one, #scrollbar-two {
  .thumb {
    .end {
      background-color: $jetBlue;
    }
    background-color: $jetBlue;
  }
}

#scrollbar-two{
  .viewport {
    height: 280px;
  }
}

#scrollbar-three{
  .viewport {
    height: 120px;
  }
}

.noSelect {
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
}

.info-fade{
  color: lighten($black, 50%);
}

.show-grid {
  margin-top: 10px;
  margin-bottom: 20px;
  [class*="span"] {
    background: darken($white, 7%);
    text-align: center;
    @include border-radius (3px);
    min-height: 40px;
    line-height: 40px;
    &:hover{
      background: darken($white, 8%);
    }
  }
}

// Google visualization table tr bg
.google-visualization-table-tr-head, .google-visualization-table-tr-head td{
  background: darken($white, 2%) !important;
}

// Icomoon font sizes
.icomoon-small{
  [data-icon]:before{
    font-size: 12px;
  }
}

.icomoon-medium{
  [data-icon]:before{
    font-size: 24px;
  }
}

.icomoon-large{
  [data-icon]:before{
    font-size: 36px;
  }
}

// Stats Count
.stats-count{
  background: $white;
  @include border-radius(2px);
  border: 1px solid darken($white, 10%);
  display: block;
  height: 38px;
  padding: 5px;
  margin-bottom: 7px;
  .arrow{
    display: block;
    height: 38px;
    float: left;
    padding-right: 10px;
    padding-top: 2px;
  }
  [data-icon]:before{
    font-size: 32px;
  }
  h5.stat-value{
    font-size: 14px;
    line-height: 20px;
    margin: 0;
  }
  .stat-name{
    font-size: 11px;
    line-height: 18px;
    color: lighten($black, 50%);
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 5px;
  }
}

// Sliding Tags
.sliding-tags {
  zoom: 1;
  &:before {
    content: '';
    display: table;
    margin-top: 4px;
  }
  &:after {
    content: '';
    display: table;
    clear: both;
  }
  li {
    position: relative;
    float: left;
    margin: 0 0 0 10px;
    &:active {
      margin-top: 1px;
      margin-bottom: 7px;
    }
    &:after {
      content: '';
      z-index: 2;
      position: absolute;
      top: 8px;
      right: -2px;
      width: 5px;
      height: 6px;
      opacity: .95;
      @include border-radius-all-val(3px, 0, 0, 3px);
      background: $nagpurOrange;
    }
    &:first-child{
      margin-left: 0;
    }
  }
  
  a, span {
    display: block;
    @include box-sizing(border-box);
  }
  a {
    height: 22px;
    line-height: 22px;
    padding: 0 9px 0 8px;
    font-size: 12px;
    color: lighten($black, 30%);
    text-decoration: none;
    border-width: 1px 0 1px 1px;
    background: $white;
    @include border-radius-all-val(3px, 0, 0, 3px);
    &:hover span {
      padding: 0 7px 0 6px;
      max-width: 40px;
    }
  }
  span {
    position: absolute;
    top: 0px;
    left: 100%;
    z-index: 2;
    overflow: hidden;
    max-width: 0;
    height: 22px;
    line-height: 22px;
    padding: 0 0 0 4px;
    color: $white;
    background: $nagpurOrange;;
    @include border-radius-all-val(0, 2px, 2px, 0);
    opacity: .95;
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    -webkit-transition-property: padding, max-width;
    -moz-transition-property: padding, max-width;
    -o-transition-property: padding, max-width;
    transition-property: padding, max-width;
  }
}

// Important Messages
.imp-messages, .tasks{
  width: 100%;
  li {
    border-bottom:1px dotted darken($white, 10%);
    padding: 8px 0;
    &:last-child{
      border-bottom: 0;
    }
    &:hover{
      background: darken($white, 1%); 
    }
    img.avatar {
      height: 32px;
      width: 32px;
      float: left;
      display: inline-block;
      @include border-radius(2px);
      padding: 2px;
      background: darken($white, 3%);
      border: 1px solid darken($white, 10%)
    }
    .message-wrapper{
      margin-left: 50px;
      margin-right: 40px;
      h4.message-heading{
        color: darken($primary-color, 5%);
        font-weight: 600;
        font-size: 13px;
        margin: 0;
        cursor: pointer;
        margin-bottom: 10px;
        line-height: 100%;
      }
      p.message{
        color: lighten($black, 40%);
        margin: 0;
      }
      p.url, p.image{
        margin: 0;
        padding: 0;
        a{
          padding-left: 5px;
          text-decoration: underline;
        }
      }
      blockquote.message{
        color: lighten($black, 40%);
        margin: 0;
      }
    }
    .message-date{
      float: right;
      text-align: right;
      h3.date{
        font-weight: normal;
        margin: 0;
        line-height: 24px;
      }
      p.month{
        color: lighten($black, 60%);
        margin: 0;
      }
    }
  }
  .thumbnails{
    li{
      border: 0;
    }
  }
}
.tasks{
  li{
    .message-wrapper{
      h4.message-heading{
        color: lighten($black, 30%);
        font-weight: normal;
        font-size: 14px;
        margin: 0;
        margin-bottom: 5px;
        line-height: 100%;
      }
      p.message{
        color: lighten($black, 60%);
        margin: 0;
        font-size: 11px;
      }
    }
  }
}

// Quick Actions
.quick-action-btn, .quick-action-btn2{
  border: 1px solid lighten($primary-color, 30%);
  padding: 5px 0;
  @include linear-gradient($white, darken($white, 5%));
  @include border-radius (2px);
  display: block;
  text-align: center;
  cursor: pointer;
  @include transition(all, 0.3s, ease);
  &:hover {
    border: 1px solid lighten($primary-color, 38%);
    [data-icon]:before{
      font-size: 26px;
      color: $primary-color;
    }
  }
  [data-icon]:before{
    font-size: 26px;
    color: lighten($black, 55%);
  }
  .label{
    width: 70%;
  }
}
.quick-action-btn2{
  padding: 14px 2px;
  @include border-radius(50%);
  .label{
    width: 40%;
  }
}

// Tweets
.tweet-group{
  padding: 2px;
}
.tweets {
  margin: 0;
  li {
    padding: 2px 0;
    margin: 2px auto;
    img.avatar {
      height: 60px;
      width: 60px;
      @include border-radius(2px);
      padding: 4px;
      background: darken($white, 2%);
      border: 1px solid darken($white, 15%)
    }
    &.in img.avatar {
      margin-right: 10px;
      float: left;
    }
    .name {
      color: $nagpurOrange;
      font-size: 13px;
      font-weight: 400;
    }
    .date-time {
      color: lighten($black, 10%);
      font-size: 11px;
      font-weight: 400;
    }
    &.out img.avatar {
      float: right;
      margin-left: 10px;
      padding: 4px;
      background: darken($white, 2%);
      border: 1px solid darken($white, 15%)
    }
    .message {
      display: block;
      padding: 5px 10px;
      position: relative;
      background: darken($white, 4%);
    }
    &.in .message {
      text-align: left;
      margin-left: 80px;
      hr {
        margin: 10px 0;
        border: 0;
        border-top: 1px solid darken($white, 6.5%);
        border-bottom: 1px solid $white;
      }
    }
    &.out {
      .message {
        margin-right: 80px;
        background: lighten($primary-color, 42%);
        .up-arrow {
          display: block;
          position: absolute;
          top: -8px;
          left: 10px;
          width: 0px;
          height: 0px;
          border-right: 10px solid transparent;
          border-left: 10px solid transparent;
          border-bottom: 8px solid lighten($primary-color, 42%);
        }
        hr {
          margin: 10px 0;
          border: 0;
          border-top: 1px solid lighten($primary-color, 45%);
          border-bottom: 1px solid lighten($primary-color, 38%);
        }
      }

      .name{
        color: $primary-color
      }
      .delete-icon{
        .fs1{
          font-size: 18px;
          color: $nagpurOrange;
        }
      }
    }
    .message .body {
      display: block;
    }
    &:last-child{
      margin-bottom: 0;
    }
    &:first-child{
      margin-top: 0;
    }
    .reply-icons{
      a.icon{
        float: left;
        margin: 0 7px;
        color: lighten($black, 25%);
        .fs1{
          font-size: 18px;
        }
        &:hover{
          color: $nagpurOrange;
        }
        &.selected{
          color: $nagpurOrange;
        }
        &.more{
          position: relative;
          margin-right: 0;
        }
        .overlay{
          background: darken($white, 3%);
          width: 8px; 
          height: 8px; 
          position: absolute; 
          top: 6px; 
          right: 0; 
        }
      }
      a.last{
        margin-right: 0px;
      }
    }
  }
}

// Todo
.todo-container{
  width: 100%;
  .todo-list{
    min-height: 180px;
    li {
      background: darken($white, 2%); 
      border-bottom: 1px dotted darken($white, 20%);
      line-height: 34px;
      &:last-child{
        border-bottom: 0;
      }
      input[type="checkbox"]{
        margin: 0 2px 0 10px;           
        &:checked + label{
          text-decoration: line-through;
          color: darken($white, 40%);
        }
      }
      label{
        display:inline-block;
        cursor:pointer;
        font-size: 12px;
      }
      .date{
        font-size: 10px;
        color: lighten($black, 50%);
        margin-right: 10px;
        float: right;
      }
      &:hover{
        background: darken($white, 4%); 
      }
    }
    .new{
      border-left: 3px solid $nagpurOrange;
      margin: 1px 0;
    }
    .completed{
      border-left: 3px solid $goGreen;
      margin: 1px 0;
    }
    .process{
      border-left: 3px solid $lemonYellow;
      margin: 1px 0;
    }
  }
  textarea{
    height: 80px;
  }
}

// Screenshots
.screenshots{
  margin: 50px 0;
  .thumbnails{
    img{
      @include border-radius(2px);
      border: 1px solid lighten($black, 90%);
    }
    .thumbnail{
      .caption{
        color: darken($white, 10%) !important;
      }
    }
  }
}

// Icons
.icomoon-icons-container li{
  @include linear-gradient(darken($white, 5%), darken($white, 7%));
  border: 1px solid darken($white, 15%);
  color: lighten($black, 40%);
  @include border-radius(2px);
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
  width: 36px;
  height: 34px;
  line-height: 36px;
  &:hover{
    background: white;
    cursor: pointer;
  }
}

// Data Tables
#dt_example{
  td{
    vertical-align: middle;
  }
  .dataTables_length{
    display: none;
  }
  .dataTables_filter{
    input{
      width: 160px;
      margin-bottom: 0;
    }
  }
  .dataTables_info{
    float: left;
    margin-top: 5px;
  }
  .dataTables_paginate{
    margin: 5px 0;
    float: right;
    .first, .previous, .next, .paginate_active, .last, .paginate_button{
      @include linear-gradient(darken($white, 5%), darken($white, 10%));
      border: 1px solid darken($white, 15%);
      padding: 5px 10px;
      &:hover{
        background: #f9f9f9;
        cursor: pointer;
      }
    }
    .paginate_active{
      background: #f9f9f9;
    }
    .first, .last, .next, .previous{
      display: none;
    }
  }

  /* Sorting */
  .dataTable .sorting {
    cursor: pointer;
    background: url(../img/sorting.png) no-repeat center right;
  }

  .dataTable .sorting_asc {
    cursor: pointer;
    background: url(../img/sorting_asc.png) no-repeat center right;
  }

  .dataTable .sorting_desc {
    cursor: pointer;
    background: url(../img/sorting_desc.png) no-repeat center right;
  }
}


// Progress UI
.progress-statistics {
  li{
    padding: 5px 10px;
    background: darken($white, 3%);
    @include border-radius(2px);
    @include transition(All, 0.5s, ease);
    border: 1px solid darken($white, 15%);
    height: 38px;
    margin-bottom: 4px;
    &:last-child {
      margin-bottom: 0px;
    }
    &:hover{
      opacity: 0.7;
      cursor: pointer;
    }
    .progress {
      @include linear-gradient(darken($white, 4%), darken($white, 12%));
      margin-top: 3px;
    }
    .details{
      font-size: 11px;
      font-weight: bold;
      display: inline;
    }
  }
}

// Invoice
.invoice {
  padding: 5px;
  .invoice-head {
    border-bottom: 1px solid lighten($black, 90%);
    height: 48px;
    .logo {
      margin: 0;
      margin-top: 7px;
      width: 180px;
      color: lighten($primary-color, 10%);
    }
    .invoice-info {
      float: right;
      margin-top: 8px;
      text-align: right;
      span {
        color: $black;
        font-weight: bold;
        font-size: 12px;
        float: right;
        text-align: right;
      }
      .date{
        color: $black;
        font-size: 11px;
        font-weight: 500;
      }
    }
  }
  .invoice-data-container {
    padding: 20px 0;
    h5{
      color: lighten($black, 5%);
      margin: 0 0 10px 0;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    }
    span {
      color: lighten($black, 5%);
      display: block;
      font-size: 12px;
      margin-bottom: 3px;
    }
  }
}

// Not Found
.error-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 300px;
  margin-left: -200px;
  margin-top: -150px;
  text-align: center;
  color: lighten($black, 80%);
  h1{
    margin-bottom: .5em;
    line-height: 1em;
    color: $rubyRed;
  }
  h2 {
    margin-bottom: .75em;
  }
  .error-details {
    margin-bottom: 1.5em;
    font-size: 16px;
  }
  .error-actions a {
    margin: 0 .5em;
  }
}

.number{
  text-align: right;
  font-size: 150px;
  color: $nagpurOrange;
  line-height: 100%;
}

// Media
@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }

  .dashboard-wrapper{
    margin-left: 0;
    min-height: 680px;
    top: 5px;
    padding: 10px 5px;
    .main-container{
      margin-right: 0px;
      @include border-radius(3px);
      .widget{
        .widget-header{
          .tools{
            display: none;
          }
          .mini-title{
            display: none;
          }
        }
      }
    }
  }
  .todo-container .todo-list li .date{
    display: none;
  }
  .tasks{
    li{
      .message-wrapper{
        margin: 50px 0 0 0;
      }
    }
  }
}

@media (max-width: 767px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .visible-phone {
    display: inherit !important;
  }
  .hidden-phone {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-left: 0px;
    padding-right: 0px;
  }
  .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
    margin-left: -20px;
    margin-right: -20px;
  }
  .container-fluid {
    padding: 0;
  }
  .dl-horizontal {
    dt {
      float: none;
      clear: none;
      width: auto;
      text-align: left;
    }
    dd {
      margin-left: 0;
    }
  }
  .container {
    width: auto;
  }
  .row-fluid {
    width: 100%;
  }
  .row {
    margin-left: 0;
  }
  .thumbnails {
    margin-left: 0;
    > li {
      float: none;
      margin-left: 0;
    }
  }
  [class*="span"], .uneditable-input[class*="span"], .row-fluid [class*="span"] {
    float: none;
    display: block;
    width: 100%;
    margin-left: 0;
    @include box-sizing(border-box);
  }
  .span12 {
    width: 100%;
    @include box-sizing(border-box);
  }
  .row-fluid {
    .span12 {
      width: 100%;
      @include box-sizing(border-box);
    }
    [class*="offset"]:first-child {
      margin-left: 0;
    }
  }
  .input-large, .input-xlarge, .input-xxlarge, input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input {
    display: block;
    width: 100%;
    min-height: 30px;
    @include box-sizing(border-box);
  }
  .input-prepend input, .input-append input, .input-prepend input[class*="span"], .input-append input[class*="span"] {
    display: inline-block;
    width: auto;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 0;
  }
  .modal {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    margin: 0;
    &.fade {
      top: -100px;
      &.in {
        top: 20px;
      }
    }
  }
  .dashboard-wrapper{
    margin-left: 0;
    min-height: 680px;
    top:5px;
    padding: 10px 5px;
    .main-container{
      @include border-radius (3px);
      margin-right: 0px;
      .widget{
        .widget-header{
          .tools{
            display: none;
          }
          .mini-title{
            display: none;
          }
        }
      }
    }
  }
  .tasks{
    li{
      .message-wrapper{
        margin: 50px 0 0 0;
      }
    }
  }
}

@media (max-width: 480px) {
  .nav-collapse {
    -webkit-transform: translate3d(0, 0, 0);
  }
  .page-header h1 small {
    display: block;
    line-height: 20px;
  }
  input {
    &[type="checkbox"], &[type="radio"] {
      border: 1px solid lighten($black, 50%);
    }
  }
  .form-horizontal {
    .control-label {
      float: none;
      width: auto;
      padding-top: 0;
      text-align: left;
    }
    .controls {
      margin-left: 0;
    }
    .control-list {
      padding-top: 0;
    }
    .form-actions {
      padding-left: 10px;
      padding-right: 10px;
    }
  }
  .media {
    .pull-left, .pull-right {
      float: none;
      display: block;
      margin-bottom: 10px;
    }
  }
  .media-object {
    margin-right: 0;
    margin-left: 0;
  }
  .modal {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .modal-header .close {
    padding: 10px;
    margin: -10px;
  }
  .carousel-caption {
    position: static;
  }
  #dt_example .dataTables_length, #dt_example .dataTables_filter{
    display: none;
  }
  #dt_example .dataTables_paginate{
    .next, .previous{
      display: none;
    }
  }
  .input-left-top-margins{
    margin-left: 0 !important;
    margin-top: 4px !important;
  }
  .input-top-margin{
    margin-top: 4px !important;
  }
  .input-bottom-margin{
    margin-bottom: 4px !important;
  }

  .about-task {
    .header{
      height: auto;
    }
    small{
      float: none;
      display: block;
    }
  }

  .dashboard-wrapper{
    margin-left: 0;
    min-height: 280px;
    margin-top: 0;
    .main-container{
      margin-right: 0px;
      .widget{
        .widget-header{
          .tools{
            display: none;
          }
        }
        .widget-body{
          .fc-header-title{
            h2{
              display: none;
            }
          }
          .fc-header-right{
            display: none;
          }
        }
      }
      .page-header h2{
        font-size: 18px;
      }
      .metro-nav{
        .metro-nav-block{
          width: 49%;
          &:hover {
            outline: none;
            opacity: 0.8;
          }
          &.double{
            width: 49%;
          }
        }
      }
    }
  }

  //Wizard
  .bwizard-steps li {
    background-color: transparent;
    padding: 0;
    margin-right: 0;
    &.active, &:first-child, &:last-child {
      background-color: transparent;
      padding: 0;
      margin-right: 0;
    }
    &:after, &:before {
      border: none;
    }
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .row {
    margin-left: -20px;
    *zoom: 1;
    &:before {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      display: table;
      content: "";
      line-height: 0;
      clear: both;
    }
  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 20px;
  }
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container, .span12 {
    width: 724px;
  }
  .span11 {
    width: 662px;
  }
  .span10 {
    width: 600px;
  }
  .span9 {
    width: 538px;
  }
  .span8 {
    width: 476px;
  }
  .span7 {
    width: 414px;
  }
  .span6 {
    width: 352px;
  }
  .span5 {
    width: 290px;
  }
  .span4 {
    width: 228px;
  }
  .span3 {
    width: 166px;
  }
  .span2 {
    width: 104px;
  }
  .span1 {
    width: 42px;
  }
  .offset12 {
    margin-left: 764px;
  }
  .offset11 {
    margin-left: 702px;
  }
  .offset10 {
    margin-left: 640px;
  }
  .offset9 {
    margin-left: 578px;
  }
  .offset8 {
    margin-left: 516px;
  }
  .offset7 {
    margin-left: 454px;
  }
  .offset6 {
    margin-left: 392px;
  }
  .offset5 {
    margin-left: 330px;
  }
  .offset4 {
    margin-left: 268px;
  }
  .offset3 {
    margin-left: 206px;
  }
  .offset2 {
    margin-left: 144px;
  }
  .offset1 {
    margin-left: 82px;
  }
  .row-fluid {
    width: 100%;
    *zoom: 1;
    &:before {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      display: table;
      content: "";
      line-height: 0;
      clear: both;
    }
    [class*="span"] {
      display: block;
      width: 100%;
      min-height: 30px;
      @include box-sizing(border-box);
      float: left;
      margin-left: 2.7624309392265194%;
      *margin-left: 2.709239449864817%;
      &:first-child {
        margin-left: 0;
      }
    }
    .controls-row [class*="span"] + [class*="span"] {
      margin-left: 2.7624309392265194%;
    }
    .span12 {
      width: 100%;
      *width: 99.94680851063829%;
    }
    .span11 {
      width: 91.43646408839778%;
      *width: 91.38327259903608%;
    }
    .span10 {
      width: 82.87292817679558%;
      *width: 82.81973668743387%;
    }
    .span9 {
      width: 74.30939226519337%;
      *width: 74.25620077583166%;
    }
    .span8 {
      width: 65.74585635359117%;
      *width: 65.69266486422946%;
    }
    .span7 {
      width: 57.18232044198895%;
      *width: 57.12912895262725%;
    }
    .span6 {
      width: 48.61878453038674%;
      *width: 48.56559304102504%;
    }
    .span5 {
      width: 40.05524861878453%;
      *width: 40.00205712942283%;
    }
    .span4 {
      width: 31.491712707182323%;
      *width: 31.43852121782062%;
    }
    .span3 {
      width: 22.92817679558011%;
      *width: 22.87498530621841%;
    }
    .span2 {
      width: 14.3646408839779%;
      *width: 14.311449394616199%;
    }
    .span1 {
      width: 5.801104972375691%;
      *width: 5.747913483013988%;
    }
    .offset12 {
      margin-left: 105.52486187845304%;
      *margin-left: 105.41847889972962%;
      &:first-child {
        margin-left: 102.76243093922652%;
        *margin-left: 102.6560479605031%;
      }
    }
    .offset11 {
      margin-left: 96.96132596685082%;
      *margin-left: 96.8549429881274%;
      &:first-child {
        margin-left: 94.1988950276243%;
        *margin-left: 94.09251204890089%;
      }
    }
    .offset10 {
      margin-left: 88.39779005524862%;
      *margin-left: 88.2914070765252%;
      &:first-child {
        margin-left: 85.6353591160221%;
        *margin-left: 85.52897613729868%;
      }
    }
    .offset9 {
      margin-left: 79.8342541436464%;
      *margin-left: 79.72787116492299%;
      &:first-child {
        margin-left: 77.07182320441989%;
        *margin-left: 76.96544022569647%;
      }
    }
    .offset8 {
      margin-left: 71.2707182320442%;
      *margin-left: 71.16433525332079%;
      &:first-child {
        margin-left: 68.50828729281768%;
        *margin-left: 68.40190431409427%;
      }
    }
    .offset7 {
      margin-left: 62.70718232044199%;
      *margin-left: 62.600799341718584%;
      &:first-child {
        margin-left: 59.94475138121547%;
        *margin-left: 59.838368402492065%;
      }
    }
    .offset6 {
      margin-left: 54.14364640883978%;
      *margin-left: 54.037263430116376%;
      &:first-child {
        margin-left: 51.38121546961326%;
        *margin-left: 51.27483249088986%;
      }
    }
    .offset5 {
      margin-left: 45.58011049723757%;
      *margin-left: 45.47372751851417%;
      &:first-child {
        margin-left: 42.81767955801105%;
        *margin-left: 42.71129657928765%;
      }
    }
    .offset4 {
      margin-left: 37.01657458563536%;
      *margin-left: 36.91019160691196%;
      &:first-child {
        margin-left: 34.25414364640884%;
        *margin-left: 34.14776066768544%;
      }
    }
    .offset3 {
      margin-left: 28.45303867403315%;
      *margin-left: 28.346655695309746%;
      &:first-child {
        margin-left: 25.69060773480663%;
        *margin-left: 25.584224756083227%;
      }
    }
    .offset2 {
      margin-left: 19.88950276243094%;
      *margin-left: 19.783119783707537%;
      &:first-child {
        margin-left: 17.12707182320442%;
        *margin-left: 17.02068884448102%;
      }
    }
    .offset1 {
      margin-left: 11.32596685082873%;
      *margin-left: 11.219583872105325%;
      &:first-child {
        margin-left: 8.56353591160221%;
        *margin-left: 8.457152932878806%;
      }
    }
  }
  input, textarea, .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 20px;
  }
  input.span12, textarea.span12, .uneditable-input.span12 {
    width: 710px;
  }
  input.span11, textarea.span11, .uneditable-input.span11 {
    width: 648px;
  }
  input.span10, textarea.span10, .uneditable-input.span10 {
    width: 586px;
  }
  input.span9, textarea.span9, .uneditable-input.span9 {
    width: 524px;
  }
  input.span8, textarea.span8, .uneditable-input.span8 {
    width: 462px;
  }
  input.span7, textarea.span7, .uneditable-input.span7 {
    width: 400px;
  }
  input.span6, textarea.span6, .uneditable-input.span6 {
    width: 338px;
  }
  input.span5, textarea.span5, .uneditable-input.span5 {
    width: 276px;
  }
  input.span4, textarea.span4, .uneditable-input.span4 {
    width: 214px;
  }
  input.span3, textarea.span3, .uneditable-input.span3 {
    width: 152px;
  }
  input.span2, textarea.span2, .uneditable-input.span2 {
    width: 90px;
  }
  input.span1, textarea.span1, .uneditable-input.span1 {
    width: 28px;
  }
}

@media (min-width: 1200px) {
  .row {
    margin-left: -30px;
    *zoom: 1;
    &:before {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      display: table;
      content: "";
      line-height: 0;
      clear: both;
    }
  }
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
  }
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container, .span12 {
    width: 1170px;
  }
  .span11 {
    width: 1070px;
  }
  .span10 {
    width: 970px;
  }
  .span9 {
    width: 870px;
  }
  .span8 {
    width: 770px;
  }
  .span7 {
    width: 670px;
  }
  .span6 {
    width: 570px;
  }
  .span5 {
    width: 470px;
  }
  .span4 {
    width: 370px;
  }
  .span3 {
    width: 270px;
  }
  .span2 {
    width: 170px;
  }
  .span1 {
    width: 70px;
  }
  .offset12 {
    margin-left: 1230px;
  }
  .offset11 {
    margin-left: 1130px;
  }
  .offset10 {
    margin-left: 1030px;
  }
  .offset9 {
    margin-left: 930px;
  }
  .offset8 {
    margin-left: 830px;
  }
  .offset7 {
    margin-left: 730px;
  }
  .offset6 {
    margin-left: 630px;
  }
  .offset5 {
    margin-left: 530px;
  }
  .offset4 {
    margin-left: 430px;
  }
  .offset3 {
    margin-left: 330px;
  }
  .offset2 {
    margin-left: 230px;
  }
  .offset1 {
    margin-left: 130px;
  }
  .row-fluid {
    width: 100%;
    *zoom: 1;
    &:before {
      display: table;
      content: "";
      line-height: 0;
    }
    &:after {
      display: table;
      content: "";
      line-height: 0;
      clear: both;
    }
    [class*="span"] {
      display: block;
      width: 100%;
      min-height: 30px;
      @include box-sizing(border-box);
      float: left;
      margin-left: 2.564102564102564%;
      *margin-left: 2.5109110747408616%;
      &:first-child {
        margin-left: 0;
      }
    }
    .controls-row [class*="span"] + [class*="span"] {
      margin-left: 2.564102564102564%;
    }
    .span12 {
      width: 100%;
      *width: 99.94680851063829%;
    }
    .span11 {
      width: 91.45299145299145%;
      *width: 91.39979996362975%;
    }
    .span10 {
      width: 82.90598290598291%;
      *width: 82.8527914166212%;
    }
    .span9 {
      width: 74.35897435897436%;
      *width: 74.30578286961266%;
    }
    .span8 {
      width: 65.81196581196582%;
      *width: 65.75877432260411%;
    }
    .span7 {
      width: 57.26495726495726%;
      *width: 57.21176577559556%;
    }
    .span6 {
      width: 48.717948717948715%;
      *width: 48.664757228587014%;
    }
    .span5 {
      width: 40.17094017094017%;
      *width: 40.11774868157847%;
    }
    .span4 {
      width: 31.623931623931625%;
      *width: 31.570740134569924%;
    }
    .span3 {
      width: 23.076923076923077%;
      *width: 23.023731587561375%;
    }
    .span2 {
      width: 14.52991452991453%;
      *width: 14.476723040552828%;
    }
    .span1 {
      width: 5.982905982905983%;
      *width: 5.929714493544281%;
    }
    .offset12 {
      margin-left: 105.12820512820512%;
      *margin-left: 105.02182214948171%;
      &:first-child {
        margin-left: 102.56410256410257%;
        *margin-left: 102.45771958537915%;
      }
    }
    .offset11 {
      margin-left: 96.58119658119658%;
      *margin-left: 96.47481360247316%;
      &:first-child {
        margin-left: 94.01709401709402%;
        *margin-left: 93.91071103837061%;
      }
    }
    .offset10 {
      margin-left: 88.03418803418803%;
      *margin-left: 87.92780505546462%;
      &:first-child {
        margin-left: 85.47008547008548%;
        *margin-left: 85.36370249136206%;
      }
    }
    .offset9 {
      margin-left: 79.48717948717949%;
      *margin-left: 79.38079650845607%;
      &:first-child {
        margin-left: 76.92307692307693%;
        *margin-left: 76.81669394435352%;
      }
    }
    .offset8 {
      margin-left: 70.94017094017094%;
      *margin-left: 70.83378796144753%;
      &:first-child {
        margin-left: 68.37606837606839%;
        *margin-left: 68.26968539734497%;
      }
    }
    .offset7 {
      margin-left: 62.393162393162385%;
      *margin-left: 62.28677941443899%;
      &:first-child {
        margin-left: 59.82905982905982%;
        *margin-left: 59.72267685033642%;
      }
    }
    .offset6 {
      margin-left: 53.84615384615384%;
      *margin-left: 53.739770867430444%;
      &:first-child {
        margin-left: 51.28205128205128%;
        *margin-left: 51.175668303327875%;
      }
    }
    .offset5 {
      margin-left: 45.299145299145295%;
      *margin-left: 45.1927623204219%;
      &:first-child {
        margin-left: 42.73504273504273%;
        *margin-left: 42.62865975631933%;
      }
    }
    .offset4 {
      margin-left: 36.75213675213675%;
      *margin-left: 36.645753773413354%;
      &:first-child {
        margin-left: 34.18803418803419%;
        *margin-left: 34.081651209310785%;
      }
    }
    .offset3 {
      margin-left: 28.205128205128204%;
      *margin-left: 28.0987452264048%;
      &:first-child {
        margin-left: 25.641025641025642%;
        *margin-left: 25.53464266230224%;
      }
    }
    .offset2 {
      margin-left: 19.65811965811966%;
      *margin-left: 19.551736679396257%;
      &:first-child {
        margin-left: 17.094017094017094%;
        *margin-left: 16.98763411529369%;
      }
    }
    .offset1 {
      margin-left: 11.11111111111111%;
      *margin-left: 11.004728132387708%;
      &:first-child {
        margin-left: 8.547008547008547%;
        *margin-left: 8.440625568285142%;
      }
    }
  }
  input, textarea, .uneditable-input {
    margin-left: 0;
  }
  .controls-row [class*="span"] + [class*="span"] {
    margin-left: 30px;
  }
  input.span12, textarea.span12, .uneditable-input.span12 {
    width: 1156px;
  }
  input.span11, textarea.span11, .uneditable-input.span11 {
    width: 1056px;
  }
  input.span10, textarea.span10, .uneditable-input.span10 {
    width: 956px;
  }
  input.span9, textarea.span9, .uneditable-input.span9 {
    width: 856px;
  }
  input.span8, textarea.span8, .uneditable-input.span8 {
    width: 756px;
  }
  input.span7, textarea.span7, .uneditable-input.span7 {
    width: 656px;
  }
  input.span6, textarea.span6, .uneditable-input.span6 {
    width: 556px;
  }
  input.span5, textarea.span5, .uneditable-input.span5 {
    width: 456px;
  }
  input.span4, textarea.span4, .uneditable-input.span4 {
    width: 356px;
  }
  input.span3, textarea.span3, .uneditable-input.span3 {
    width: 256px;
  }
  input.span2, textarea.span2, .uneditable-input.span2 {
    width: 156px;
  }
  input.span1, textarea.span1, .uneditable-input.span1 {
    width: 56px;
  }
  .thumbnails {
    margin-left: -30px;
    > li {
      margin-left: 30px;
    }
  }
  .row-fluid .thumbnails {
    margin-left: 0;
  }
}

@media (max-width: 979px) {
  body {
    padding-top: 0;
  }
  .navbar-fixed-top, .navbar-fixed-bottom {
    position: static;
  }
  .navbar-fixed-top {
    margin-bottom: 20px;
  }
  .navbar-fixed-bottom {
    margin-top: 20px;
  }
  .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
    padding: 5px;
  }
  .navbar {
    .container {
      width: auto;
      padding: 0;
    }
    .brand {
      padding-left: 10px;
      padding-right: 10px;
      margin: 0 0 0 -5px;
    }
  }
  .nav-collapse {
    clear: both;
    .nav {
      float: none;
      margin: 0 0 10px;
      > {
        li {
          float: none;
          > a {
            margin-bottom: 1;
          }
        }
        .divider-vertical {
          display: none;
        }
      }
      .nav-header {
        color: lighten($black, 44%);
        text-shadow: none;
      }
      > li > a {
        padding: 7px 10px;
        font-weight: bold;
        color: lighten($black, 40%);
        background: darken($white, 2%);
        border-bottom: 1px solid darken($white, 5%);
      }
    }
    .dropdown-menu a {
      padding: 9px 15px;
      font-weight: bold;
      color: lighten($black, 44%);
    }
    .btn {
      padding: 4px 10px 4px;
      font-weight: normal;
      @include border-radius(2px);
    }
    .dropdown-menu li + li a {
      margin-bottom: 2px;
    }
    .nav > li > a:hover, .dropdown-menu a:hover {
      background-color: darken($white, 3%);
    }
  }
  .navbar-inverse .nav-collapse {
    .nav > li > a, .dropdown-menu a {
      color: lighten($black, 60%);
    }
    .nav > li > a:hover, .dropdown-menu a:hover {
      background-color: lighten($black, 10%);
    }
  }
  .nav-collapse {
    &.in .btn-group {
      margin-top: 5px;
      padding: 0;
    }
    .dropdown-menu {
      position: static;
      top: auto;
      left: auto;
      float: none;
      display: none;
      max-width: none;
      margin: 0 15px;
      padding: 0;
      background-color: transparent;
      border: none;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
    }
    .open > .dropdown-menu {
      display: block;
    }
    .dropdown-menu {
      &:before, &:after, .divider {
        display: none;
      }
    }
    .nav > li > .dropdown-menu {
      &:before, &:after {
        display: none;
      }
    }
    .navbar-form, .navbar-search {
      float: none;
      padding: 10px 15px;
      margin: 10px 0;
      border-top: 1px solid darken($white, 3%);
      border-bottom: 1px solid darken($white, 3%);
      @include box-shadow-twice(inset, 0, 1px, 0, rgba(255, 255, 255, 0.1), 0, 1px, 0, rgba(255, 255, 255, 0.1));
    }
  }
  .navbar-inverse .nav-collapse {
    .navbar-form, .navbar-search {
      border-top-color: lighten($black, 10%);
      border-bottom-color: lighten($black, 10%);
    }
  }
  .navbar .nav-collapse .nav.pull-right {
    float: none;
    margin-left: 0;
  }
  .nav-collapse {
    overflow: hidden;
    height: 0;
    &.collapse {
      overflow: hidden;
      height: 0;
    }
  }
  .navbar .btn-navbar {
    display: block;
  }
  .navbar-static .navbar-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 980px) {
  .nav-collapse.collapse {
    height: auto !important;
    overflow: visible !important;
  }
}